Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

General failure building bootstrapper

Tags:

while doing the build of my dontnet 4.0 project setup i'm getting following errors

An error occurred generating a bootstrapper: Unable to finish updating resource for E:\project\Setup\Debug\setup.exe with error 8007006E    E:project\Setup\Setup.vdproj    Setup  General failure building bootstrapper   E:\project\Setup\Setup.vdproj   Setup  Unrecoverable build error   E:\project\\Setup\Setup.vdproj Setup 

I am using dotnet framework 4 and MSVS 2010.

like image 464
dnyan waychal Avatar asked Mar 27 '12 14:03

dnyan waychal


1 Answers

This happens because The .NET framework version required by the setup project is different than the .NET framework version targeted by the application.

To change verify this:

  1. In Solution Explorer, click the Setup project.
  2. On the View menu, point to Editor, and then click Launch Conditions.
  3. Click .NET Framework.
  4. In the Properties window, change the Version property to the version of the .NET Framework that you want the Setup project to check for and install.

And also you need to Make sure that the Setup.exe program also checks for and installs the correct version of the .NET Framework.

Right click on the setup project -> Properties -> Prerequisites -> Select the correct ones.

like image 109
Safras Avatar answered Sep 18 '22 18:09

Safras