Handling nmake errorlevel/return codes
- by tlianza
Hi all,
I have an nmake-based project which in turn calls the asp compiler, which can throw an error, which nmake seems to recognize:
NMAKE : fatal error U1077: 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe' : return code '0x1'
However, when I call nmake from within a batch file, the environment variable %ERRORLEVEL% remains…