Visual Studio 2013 Error Code MSB4175

I recently installed visual studio 2013 version 4 on Windows 7, 64 bit system and tried to build a project. In the process, I am getting the following error -

FileError 1 MSB4175: The factory task "CodeTaskFactory" may not load from assembly "C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Build.Tasks.v12.0.dll". Could not find file 'C: \ Users \ pratyush \ AppData \ Local \ Temp \ wuknqfms.dll'.

Interestingly, the DLL file in AppData \ local \ Temp changes every time the project is rebuilt. It seems to be a random 8 character string.

For example, if I rebuild the project, the file wuknqfms.dll

, as in the error message, changes to - fjcmnzgj.dll

.

When plotted, it changes to again imypid1e.dll

. Etc.

More interestingly, older versions of Visual Studios like 2012 and 2010 work very well.

I tried to fix this error in the following ways: 1.reinstall Visual Studios 2.Repair Visual Studios 3.install the latest .net 4.install the current msbuild tool 5.update any upgradeable package as shown in nuget 6. google the problem and look in the forums

If you have a lead or suggestion, welcome.

+3


source to share


1 answer


In your csproj, in the <Project> tag, change the ToolsVersion from 4.0 to 12.0

Source: https://msdn.microsoft.com/en-us/library/hh873168.aspx



edit: <Project> is considered an html tag

0


source







All Articles