General failure building bootstrapper

25,496

Solution 1

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.

Solution 2

When I turn McAfee real-time scan off, it works. I spent 2 hours on figuring this out :(

Solution 3

I googled a lot on this issue after trying all i just disabled my antivirus(NPAV) and this issue was solved.

Solution 4

turning off mcafee real time scanning worked for me as well on Windows 8.1

Solution 5

Here is yet another solution, this one is unlike the rest...

We recently added NTFS replication to our build tree root to provide some additional data redundancy and to begin to sync our old build machine with the new server. The NTFS replication caused some projects to fail with the exact same three error reported, and yet other projects work just fine. Set the replication on only run at night and the problem stopped occurring...

K

Share:
25,496
dnyan waychal
Author by

dnyan waychal

Updated on November 11, 2021

Comments

  • dnyan waychal
    dnyan waychal over 2 years

    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.

  • dnyan waychal
    dnyan waychal almost 12 years
    Thanks for the response i tried with this but still getting same error.
  • Admin
    Admin over 11 years
    I get this error intermittently, if I hit 'F6' enough times it will compile. This seems to happen when a solution grows to a moderate size (about 15 projects in it)
  • Evan Wondrasek
    Evan Wondrasek over 10 years
    I found I had to delete the contents of my \bin\debug folder as it contained a problematic app.publish folder from one of the previous failed builds. After that, and updating the prerequisites, the publish succeeded.
  • mason
    mason about 10 years
    +1 When I disabled my Kaspersky Anti Virus it started working.
  • SteveAnselment
    SteveAnselment over 9 years
    Same issue with McAfee +1 for your help ;)
  • reggaeguitar
    reggaeguitar almost 9 years
    Cleaning the solution worked for me, thanks a lot @EvanWondrasek
  • Ignacio Soler Garcia
    Ignacio Soler Garcia about 8 years
    Love it, I would never find it by myself.
  • dsi
    dsi about 7 years
    Thank You. I had also same issue because of Net protector anti virus. Its fixed by disabling.
  • Corey Thompson
    Corey Thompson over 6 years
    Had to disable Windows 10's Windows Defender Real-time protection, then it worked.
  • Sharif Lotfi
    Sharif Lotfi about 4 years
    Thank you , how did you find this way? I turned off windows deffender virus protection and it worked.
  • user2924019
    user2924019 almost 2 years
    For me, I changed it down a version, then back up a version, hit save all, and then right clicked the setup project and clicked "rebuild". Then it started working.