When I do the online project, I have encountered this problem, I find that I want to pack the web application unable, I always report "Unrecoverable Generation Error Information", and after searching Google gets this answer: http://support.microsoft. COM / DEFAULT.ASPX? SCID = KB; ZH-CN; 329214
Symptom Cause Solution Status More Information Reference
symptom
You may receive the following error message when you try to generate an installation and deployment item created in Visual Studio .NET:
Unrecoverable build Error
the reason
Usually, there are several reasons for this problem:
• Open multiple windows in the Visual Studio .NET development environment. • In your Visual Studio .Net project, there are multiple folders with the same name. • Some of the interfaces in the registry are registered. • In the registry, MergeMod.dll is not registered, or registered an incomplete MergeMod.dll version. • You upgrade from the Beta 2 version of Visual Studio .NET to the release.
solution
• Multiple open windows To resolve this issue, close some of these windows and try to generate the installation item again. • Multiple folders To resolve this issue, specify a unique name for each folder in the Visual Studio .NET project. • Register Lost Warning: If you use improper use of the registry editor, you may need to reinstall the operating system. Microsoft does not guarantee that you can solve problems due to improper use of registry editors. Use Registry Editor at your own risk. To resolve this issue, import or manually add lost information in the registry. To do this, follow these steps:
1. Click Start, and then click Run. In the "Open" text box, type regedit, then click OK to start the Registry Editor. 2. Add the following registry key:
• hkey_classes_root / interface / {00020404-0000-0000-c000-000000000046} Set the default value of this to IEnumvariant • HKEY_CLASSES_ROOT / Interface / {00020404-0000-0000-c000-000000000046} / numMethod Set this default value setting to 7 • HKEY_CLASSES_ROOT / Interface / {00020404-0000-0000-C000-000000000046} / ProxyStubClsid this default value is set to {00020421-0000-0000-C000-000000000046} • HKEY_CLASSES_ROOT / Interface / {00020404-0000-0000 -C000-000000000046} / proxystubclsid32 Set the default value of this item to {00020421-0000-0000-c000-000000000046} • MergeMod.dll Not properly registered To resolve this issue, register with MergeMod.dll again. Typically, MergeMod.dll is located in the following folder:
C: / Program Files / Common Files / Microsoft Shared / MSI Tools / MergeMod.dll
To register mergemod.dll, type the following command at the command prompt, then press ENTER:
Regsvr32 "C: / Program Files / Common Files / Microsoft Shared / MSI Tools / Mergemod.dll"
• Upgrade from Visual Studio .NET Upgrade To resolve this issue, remove the Beta 2 version of Visual Studio .NET and reinstall the release. For additional information about how to delete Visual Studio .Net Beta, click the article number below to see the article in the Microsoft Knowledge Base: 312383
HOW TO: Delete Visual Studio .NET Beta and Release Candidate
status
This phenomenon is designed to make.
More information
Steps to reproduce problems
To reproduce the phenomenon that MergeMod.dll does not register correctly, follow these steps:
1. Click Start, and then click Run. 2. In the "Open" text box, type the following command, and then click OK:
Regsvr32 / u "C: / Program Files / Common Files / Microsoft Shared / MSI Tools / MergeMod.dll"
3. Start Visual Studio .NET. On the File menu, point to "New" and click Project. 4. Under Project Types, click Install and Deploy Projects. Under "Templates", click Install Project. Click OK. 5. On the Generate menu, click Generate Solutions.
Important: After reducing this phenomenon, follow the steps in the Solution section to register for MergeMod.dll again.
reference
For additional information, click the article number below to see the article in the Microsoft Knowledge Base:
320426
PRB: "this setup does not contain the .NET Framework" Error Message During Visual Studio .NET Deployment
307353
How To: Create a Setup package by using visual studio.net
But there is still no solve, I have tried each item, I checked the registry, registering Mergemod.dll, still not, then thinking that there is a problem with my mergemod.dll, from others to pack the machine to copy the machine This file, found that this DLL on the normal machine is only 137K, and this file on my machine has 140K, cover my machine with someone else's DLL, then register, BG! Yes! .