Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Could not run the “GenerateResource” task because MSBuild could not create or connect to a task host with runtime “CLR2” and architecture “x86”.

What I have tried:

To resolve it, go to your csproj file and add the following line under the default property group:

<PropertyGroup>
…
      <DisableOutOfProcTaskHost>true</DisableOutOfProcTaskHost>
</PropertyGroup>

And that should resolve the issue, everything should be compiled.
Posted
Updated 5-Jan-17 1:58am

1 solution

So follow the instructions and add the line it is very clearly telling you to add...
 
Share this answer
 
Comments
Gayathri Reddy 5-Jan-17 8:21am    
what is this? there is no soln regarding this
OriginalGriff 5-Jan-17 8:27am    
Read your question:
"To resolve it, go to your csproj file and add the following line under the default property ... "
Gayathri Reddy 5-Jan-17 22:39pm    
i solved the problem already but i just want to know the reason of this
Gayathri Reddy 6-Jan-17 0:42am    
pls help me friends

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900