VS 2015 Build Error

  • Thread starter Thread starter robingupta91
  • Start date Start date
R

robingupta91

Guest
I am trying to compile a simple C++ project using VS 2015. But as I try to do that, the build fails and it gives the below 4 errors. Please can somebody suggest what can I do. I tried re-installing the VS many times but still the same error.


1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. error CVT1101: cannot open 'c:\Users\a013.ENT\AppData\Local\Temp\skjgjrgp\CSC7E71C7AFEF934F0A8C83C9129E8BF2C1.TMP' for reading


1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. warning CS1668: Invalid search path 'Lib\um\x86' specified in 'LIB environment variable' -- 'The system cannot find the path specified. '


1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. error CS1583: 'c:\Users\a013.ENT\AppData\Local\Temp\skjgjrgp\CSC7E71C7AFEF934F0A8C83C9129E8BF2C1.TMP' is not a valid Win32 resource file


1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB4036: The "SetEnvironmentVariable" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\14.0\bin" directory.

Continue reading...
 

Similar threads

Back
Top