docfile已损坏 docfile has been corrupted visual studio 2022

docfile has been corrupted visual studio 2022

中文错误:docfile已损坏 错误代码:0x00083019 好像是这么个错误编码

就是用vs2022打开vs2019开发的项目,调试或者关闭vs2022就提示这个错误,开始以为安装的功能不全导致的,结果安装了桌面开发环境,web开发都不行,害得我还重装了win10,还是不行,百度也没个结果,害得我只能谷歌了一下,还是得谷歌啊,老外的一个帖子解决了问题:

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.

就是删除vs2019的项目中的.vs文件夹,然后再用vs2022打开项目解决方案重新加载下就解决了!

国内的搜索引擎愣是找不到一个解决方案的帖子,我也是我了个去了!

老外帖子地址:https://stackoverflow.com/questions/72417857/doc-file-has-been-corrupted-error-after-updating-vs-to-microsoft-visual-studio-e

赞(7) 打赏
分享到: 更多 (0)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏