Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不小心删除了release一个visual studio 2012 c++项目的配置模式,我该如何恢复呢?
release
在进行此更改之前恢复到源代码控制存储库中的版本。
Revert需要重做项目的修改,比较繁琐。
另一种解决方案:
1)创建一个新项目并打开该项目的vcxproj文件,或者只是打开一个旧的修订项目文件。
2)将所有Release相关的xml元素复制到旧的修订文件中。(需要修改包含路径/库路径/库输入等)
完毕。