Saving project file in Visual Studio 2019 reverts changes in the csproj file

泄露秘密 提交于 2019-12-22 07:37:20

问题


I'm using Microsoft Visual Studio Professional 2019 RC Version 16.0.0 (VisualStudio.16.Release/16.0.0+28729.10) and I'm finding that intermittently when I save a project file the changes to the project file are being undone.

This has proved more than a little confusing as NuGet packages I've added disappear, or updated ones revert to previous versions.

Likewise, if I've included files in the project they will then no longer be included after the save, so it looks like the changes are not getting to the csproj file correctly?

Is anyone else experiencing this and does anyone know why this happens?


回答1:


This seems to be resolved in 16.1.0 Preview 2.0



来源:https://stackoverflow.com/questions/55500027/saving-project-file-in-visual-studio-2019-reverts-changes-in-the-csproj-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!