已移动项目的属性已更改 [英] properties for moved project changed
问题描述
此过程是将所有文件从一台计算机(Windows 7)移至另一台(Windows 10),然后在新计算机上重新加载Visual Studio 2010.所有项目文件都移至新计算机上的相同位置.这包括.sln和.vcxproj文件. 看一下新安装的属性,它们是完全不同的.
例如,诸如配置属性-> C/C ++->预处理器->预处理器定义"之类的简单内容就可以了.是不同的.在旧系统上,它是 WIN32
NDEBUG
_CONSOLE
_WINDOWS
VSPROJ
_CRT_SECURE_NO_WARNINGS
在新系统(相同文件)上,
WIN32
_DEBUG
_CONSOLE
请注意,在新系统上同时安装了VS 2010和VS 2015.两者之间似乎没有任何互动.
在许多项目中有很多地方正在发生这种情况.尝试手动跟踪所有内容非常危险.
Mark Hubelbank东北监控2钟楼广场#555 Maynard,MA 01754
马克·胡贝尔班(Hi Mark hubelbank),
感谢您在这里分享您的发现.
我建议您将此发现发布到Visual Studio Connect,这可以使Microsoft工程师注意到此反馈.然后,请在此处共享反馈链接,该链接可以让遇到问题的其他社区对您的反馈意见进行投票.
The process was to move all files from one computer (Windows 7) to another (Windows 10) and reload Visual Studio 2010 on the new computer. All project files were moved to the identical locations on the new computer. This included the .sln and .vcxproj files. Looking at the properties on the new installation they are quite different.
For example something as simple as "configuration properties->C/C++->Preprocessor->Preprocessor Definitions" were different. On the old system, it was
WIN32
NDEBUG
_CONSOLE
_WINDOWS
VSPROJ
_CRT_SECURE_NO_WARNINGS
On the new system (same files) it was
WIN32
_DEBUG
_CONSOLE
Note that on the new system both VS 2010 and VS 2015 are installed. There did not seem to be any interaction between the two.
There are many places in many projects where this is happening. It would be very dangerous to try to track them all down manually.
Mark Hubelbank NorthEast Monitoring 2 Clock Tower Place #555 Maynard, MA 01754
Hi Mark hubelbank,
Thanks for sharing your discovery here.
I suggest you post this discovery to Visual Studio Connect, which can let Microsoft engineer notice this feedback. Then please share the feedback link here, which can let other communities who has the same problem to vote your feedback.
这篇关于已移动项目的属性已更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!