[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / msvc / setup-solution.bat
index 3f516ff7687e1f0d85160d929be6209979244d16..0674972d9abedf4d522c26beaa848ddd3b3d5fd5 100755 (executable)
@@ -1,12 +1,20 @@
 @echo off\r
 csc -debug -out:scripts\monowrap.exe scripts\monowrap.cs \r
+if errorlevel 1 goto error\r
 csc -nowarn:414 -debug -out:scripts\genproj.exe scripts\genproj.cs\r
+if errorlevel 1 goto error\r
 csc -debug -out:scripts\prepare.exe scripts\prepare.cs\r
+if errorlevel 1 goto error\r
 cd scripts\r
-prepare.exe\r
+prepare.exe ..\\..\\..\\mcs core \r
+if errorlevel 1 goto error\r
 genproj.exe\r
+if errorlevel 1 goto error\r
 cd ..\r
 echo Setup complete, you need at least a mcs\class\lib\basic directory with\r
 echo mcs.exe  mscorlib.dll  System.dll  System.Xml.dll\r
 echo to bootstrap\r
-\r
+goto end\r
+: error\r
+echo Error: solution is not configured.\r
+:end
\ No newline at end of file