When installing some node packages that use node-gyp, such as node-inspector, a CodeTaskFactory error is thrown by MSBuild.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB4175: The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Build.Tasks.v12.0.dll". Could not load file or assembly 'file:///C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Build.Tasks.v12.0.dll' or one of its dependencies. The system cannot find the file specified.
This only occurs when the main Visual Studio is 2015, and not under 2013.
When installing some node packages that use
node-gyp, such asnode-inspector, aCodeTaskFactoryerror is thrown by MSBuild.This only occurs when the main Visual Studio is 2015, and not under 2013.