Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 385
Farahmand Ariashokooh Avatar asked Nov 17 '25 03:11

Farahmand Ariashokooh


2 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

like image 54
Code For All Avatar answered Nov 18 '25 21:11

Code For All


Deleted the .vs files Restarted my computer three times Deleted the newly created .vs files

So far nothing has worked im still getting: docfile has been corrupted 0x80030109 error.

I do have a full back up from a day or so back and all my code is updated in git 2 to 3 times a day so am considering a rollback and restore from backup and then a fresh git pull but id like to know the root cause so i can prevent this from happening again. Anyone have any other suggestions besides deleting the hidden .vs files?

like image 33
scott Dumper Avatar answered Nov 18 '25 19:11

scott Dumper



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!