RSS

MSI Installation Incomplete, MSBuild Task warning while compiling, “Microsoft.Build.Tasks.GenerateResource” trying to use CLR2

20 Mar

Problem/Symptom:

You are trying to build a setup project (msi) within Visual Studio, build runs fine, but when trying to deploy the package, the installation fails with unknown fatal error.

Cause:

You’ve installed Visual Studio 11 Preview, or Microsoft .Net Framework 4.5.
This, as seems as MS bug, overwritten MSBuild’s configuration.

Solution:

Removing Microsoft .Net Framework 4.5 & Microsoft .Net Framework 4.0, and re installing Microsoft .Net Framework 4.0 will solve the problem.

Advertisements
 
Leave a comment

Posted by on March 20, 2012 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: