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…
- Delete all .vs folders (Hidden Folder) from the solution
- Delete all files in
- 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.