X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=msvc%2Fsetup-solution.bat;h=0674972d9abedf4d522c26beaa848ddd3b3d5fd5;hb=9bec7d1d332cfa94119902084a2f32daebde4748;hp=3f516ff7687e1f0d85160d929be6209979244d16;hpb=60a92d8a8b458da1158bb5caa85353402780b215;p=mono.git diff --git a/msvc/setup-solution.bat b/msvc/setup-solution.bat index 3f516ff7687..0674972d9ab 100755 --- a/msvc/setup-solution.bat +++ b/msvc/setup-solution.bat @@ -1,12 +1,20 @@ @echo off csc -debug -out:scripts\monowrap.exe scripts\monowrap.cs +if errorlevel 1 goto error csc -nowarn:414 -debug -out:scripts\genproj.exe scripts\genproj.cs +if errorlevel 1 goto error csc -debug -out:scripts\prepare.exe scripts\prepare.cs +if errorlevel 1 goto error cd scripts -prepare.exe +prepare.exe ..\\..\\..\\mcs core +if errorlevel 1 goto error genproj.exe +if errorlevel 1 goto error cd .. echo Setup complete, you need at least a mcs\class\lib\basic directory with echo mcs.exe mscorlib.dll System.dll System.Xml.dll echo to bootstrap - +goto end +: error +echo Error: solution is not configured. +:end \ No newline at end of file