Doc file has been corrupted error after updating VS to Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.2.0 Preview 2

Viewed 3409

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…

  1. Delete all .vs folders (Hidden Folder) from the solution
  2. Delete all files in
  3. Re-open project/solution and all working again.

Message Box Error | Click for Show Full Size Imgae

Hope this saves someone from losing a few hours on this.

3 Answers

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

I had this error today after updating normal VS, no preview, only in the WPF solution, the ASP.NET solution was still able to build and debug.

I tried updating VS as per ms blog to latest preview VS and then deleted the .vs folders, but nothing worked.

I got it to work again by restarting my PC.

Close the solution and just delete the hidden .vs folder and start again.

Related