General failure building bootstrapper
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:
- In Solution Explorer, click the Setup project.
- On the View menu, point to Editor, and then click Launch Conditions.
- Click .NET Framework.
- 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
dnyan waychal
Updated on November 11, 2021Comments
-
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 almost 12 yearsThanks for the response i tried with this but still getting same error.
-
Admin over 11 yearsI 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 over 10 yearsI found I had to delete the contents of my
\bin\debug
folder as it contained a problematicapp.publish
folder from one of the previous failed builds. After that, and updating the prerequisites, the publish succeeded. -
mason about 10 years+1 When I disabled my Kaspersky Anti Virus it started working.
-
SteveAnselment over 9 yearsSame issue with McAfee +1 for your help ;)
-
reggaeguitar almost 9 yearsCleaning the solution worked for me, thanks a lot @EvanWondrasek
-
Ignacio Soler Garcia about 8 yearsLove it, I would never find it by myself.
-
dsi about 7 yearsThank You. I had also same issue because of Net protector anti virus. Its fixed by disabling.
-
Corey Thompson over 6 yearsHad to disable Windows 10's Windows Defender Real-time protection, then it worked.
-
Sharif Lotfi about 4 yearsThank you , how did you find this way? I turned off windows deffender virus protection and it worked.
-
user2924019 almost 2 yearsFor 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.