How do I restore a property sheet to its default value?

瘦欲@ 提交于 2019-12-03 03:05:15

I'm not sure if this is the official way, but it does work...

The default property sheets are stored in the following directory:

%USERPROFILE%\AppData\Local\Microsoft\MSBuild\v4.0

And if you delete them, they will be automatically recreated by Visual Studio using the default settings next time that it is launched.

So you can simply delete Microsoft.Cpp.Win32.user.props from that directory and restart VS.

Putting it all together, from the command line, simply issue the following command:

del %USERPROFILE%\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!