Blog Post

Could not run the "GenerateResource"

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: ''

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