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.
我有数千个 VC++ 6 项目,现在我想批量升级并将它们构建到 VC++ 2010。我不知道该怎么做。
如果我必须手动升级和构建它们,我会很生气!
任何机构可以帮助我?
给你:将 VC++ 6.0 项目升级到 VC++ 2010
@echo off for /r %i in (*.dsp;) do ( vcupgrade "%i" -overwrite -nologo ) pause
批量构建 VC++ 2010 项目
@echo off for /r %i in (*.vcxproj;*.vcproj;) do ( devenv "%i" /Rebuild ) pause
我没有尝试过,但这看起来很有希望:
http://blogs.msdn.com/b/vcblog/archive/2010/03/25/to-the-command-line-thermals-some-quick-know-hows-for-upgrading-to-vs-2010。 aspx