I had the same problem with “Docfile corruption” error after upgrading to 17.2. preview 2.1 today. I could not build, load files or even close VS without forcefully ending VS process in task manager.
Message Box Error | Click for Show Full Size Imgae
Here is what fixed it for me without having to downgrade…
Message Box Error | Click for Show Full Size Imgae
Hope this saves someone from losing a few hours on this.
Its working for me. Thank you
(the docfile has been corrupted 0x80030109 visual studio 2022 error solution)
Delete all .vs folders (Hidden Folder) from the solution