[英]How to select which Visual Studio version is launched for a .vcproj file?
We are still using VS2005 for C++ development (upgrading is planned!) The problem is we also have VS2010 shell installed to work with TFS. 我们仍在使用VS2005的C ++开发(升级计划 !)问题是,我们也有安装了TFS工作VS2010外壳。 If I double-click a .SLN file, VS2005 launches correctly, but if I double-click a .vcproj file VS2010 is launched even though since it's only the shell, it has no way to open the project!
如果我双击.SLN文件,则VS2005会正确启动,但是如果我双击.vcproj文件,则VS2010会启动,即使它只是外壳程序,也无法打开项目!
I understand there is a special launcher-version tool involved here, how can I tell it to launch VS2005 in all cases? 我知道这里有一个特殊的启动器版本工具,如何告诉它在所有情况下都启动VS2005?
我发现可靠地做到这一点的唯一方法是从所需的VS版本运行vcvarsall.bat
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.