I’m having issues when building a C# project with msbuild.exe, it freezes. Looking at the msbuild.exe process in Process Explorer, I get something like this:
MSBuild.exe
|
+--csc.exe
|
+--cvtres.exe
It’s very weird as it’s not constantly reproducible but when it does, it’s always at cvtres.exe.
If I kill cvtres.exe, it gives me a message saying
'[PROJECT_PATH]\obj\Release\[TEMP_FILE_NAME].tmp' is not a valid Win32 resource file
Has anyone experienced this issue?
Found this out. It was because I had an old version of Visual Studio (namely 2003) installed.
It adds environment variables “LIB” and “INCLUDE” with values for .NET 1.1 (to your System variables not User!!). Removing them resolved the issue.