|
@rem Author: Priyakant Patel
@rem http://www.priyakant.com
@prompt $S
@findstr "<.*ProductVersion.*>.*8.*</.*ProductVersion.*>" %1
@IF %ERRORLEVEL% LSS 1 goto LABEL_VS8
@findstr ".*Format.*Version.*9" %1
@IF %ERRORLEVEL% LSS 1 goto LABEL_VS8
@findstr "#.*Visual.*Studio.*2005" %1
@IF %ERRORLEVEL% LSS 1 goto LABEL_VS8
:LABEL_VS7
@cls
@echo *** *** Project is a Microsoft Visual Studio .Net 2003 *** ***
Call "%VS71COMNTOOLS%vsvars32.bat"
@echo **** building following solution in ~~Release~~ mode ****
@echo %1
@devenv %1 /rebuild Release
@goto LABEL_END
:LABEL_VS8
@cls
@echo *** *** Project is a Microsoft Visual Studio .Net 2005 *** ***
Call "%VS80COMNTOOLS%vsvars32.bat"
@echo **** building following solution in ~~Release~~ mode ****
@echo %1
@devenv %1 /rebuild Release
@goto LABEL_END
@echo Before end
:LABEL_END
@echo Hit enter to exit
@pause
@exit
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.