简体   繁体   中英

how to batch upgrade and build VC++ 6 project to VC++ 2010?

I have thousands of VC++ 6 Projects, now i want to batch upgrade and build them to VC++ 2010. I don't know how to do that.

I will be mad if I have to upgrade and build them manually one by one!

Any body can help me?

Here you go: Upgrade VC++ 6.0 project to VC++ 2010

@echo off
for /r %i in (*.dsp;) do ( vcupgrade "%i" -overwrite -nologo )
pause

batch build VC++ 2010 project

@echo off
for /r %i in (*.vcxproj;*.vcproj;) do ( devenv "%i" /Rebuild )
pause

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM