You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Failure to run nmake on Windows

If nmake fails under Windows, the compiler environment for Visual Studio may not be set up properly.

To set it on the command line, you can run vcvars32.bat, typically located in C:\Program Files\Microsoft Visual Studio version#\VC\bin. Be sure to use the same console to execute nmake that you used to run the batch file.

C#(csc.exe) errors with .NET framework

If you get C# (csc.exe) errors, your compiler executable file csc.exe is not recognized as an internal or external command.

To resolve this issue, make sure the .NET framework location is included in your PATH variable. For example:

  • For Visual Studio 2008: C:\Windows\Microsoft.NET\Framework\v3.5.
  • For Visual Studio 2010: C:\Windows\Microsoft.NET\Framework\v4.0.30319.
  • For Visual Studio 2012: C:\Windows\Microsoft.NET\Framework\v4.0.30319.



 


  • No labels