X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=msvc%2Fsetup-solution.bat;h=0674972d9abedf4d522c26beaa848ddd3b3d5fd5;hb=52e98abd6e5c6d10ddea91a529f7b1b2336e0696;hp=fb4f3ac7d9b71e7130db89db665b551c170140f6;hpb=314ce8627cb6f7d01f85da3859341c3894918635;p=mono.git diff --git a/msvc/setup-solution.bat b/msvc/setup-solution.bat index fb4f3ac7d9b..0674972d9ab 100755 --- a/msvc/setup-solution.bat +++ b/msvc/setup-solution.bat @@ -1,8 +1,20 @@ @echo off csc -debug -out:scripts\monowrap.exe scripts\monowrap.cs -csc -debug -out:scripts\genproj.exe scripts\genproj.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 ..\\..\\..\\mcs core +if errorlevel 1 goto error genproj.exe +if errorlevel 1 goto error cd .. -echo Setup complete, you can now use build the solution +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