K2.6 patches and update.
[tomato.git] / release / src / router / openvpn / msvc-dev.bat
blobdbd7be07de96f07ca28fafd10b7a0ae5f1159b38
1 @echo off
3 setlocal
4 cd /d %0\..
5 call msvc-env.bat
7 if exist "%VSHOME%\Common7\IDE\VCExpress.exe" (
8         set IDE=%VSHOME%\Common7\IDE\VCExpress.exe
9 ) else if exist "%VSHOME%\Common7\IDE\devenv.exe" (
10         set IDE=%VSHOME%\Common7\IDE\devenv.exe
11 ) else (
12         echo "Cannot detect visual studio environment"
13         goto error
15 start "" "%IDE%" "%SOLUTION%"
17 exit /b 0
18 goto end
20 :error
21 exit /b 1
22 goto end
24 :end
26 endlocal