Cpo Design

Could not run the "GenerateResource"

Pavel Svarc Monday, March 14, 2016 9:47 AM



Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "CLR2" and architecture "x86".  Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files (x86)\MSBuild\12.0\bin\MSBuildTaskHost.exe" exists and can be run. projectName

build issue

The issue has been known for a while 

and reported here: 'https://connect.microsoft.com/VisualStudio/feedback/details/758772/generateresource-fails-for-net-3-5-application-when-net-4-5-has-been-installed'

This however does not resolve the issue.


I have changed .NET version on the project and now I can compile. As illustrated on picture below

Related posts

Currenlty there are no related articles.