Problem with manifest file

Obfuscator.NET

Problem with manifest file


microsmith 02-09-2009, 4:09 PM
I'm using Visual Studio 2008 to create a Word add-in.  I set up the command line parameters in the post-build event to obfuscate the dll using your product.  The build suceeds but when I try to install the custumization I get the following error:

Name: Formula Builder AE 2007
From: file:///C:/Users/Brad/Documents/Visual Studio 2008/Projects/Formula Builder AE 2007/Formula Builder AE 2007/bin/Release/Formula Builder AE 2007.vsto

File, Formula Builder AE 2007.dll, has a different computed hash than specified in manifest.

************** Exception Text **************
System.Deployment.Application.InvalidDeploymentException: File, Formula Builder AE 2007.dll, has a different computed hash than specified in manifest.
   at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)
   at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

It seems that the manifest is built before the obfuscation is complete.  How can I get around this?

Thanks

Microsmith

Re: Problem with manifest file


David 02-10-2009, 8:59 PM
Do you have any method to regenerate the manifest file according to the obfuscated dll?
Or you could remove the hash check from the manifest?
Please send us the manifest if you can't solve the problem, thanks.

Re: Problem with manifest file


microsmith 02-12-2009, 9:09 AM
I worked it out.  I needed to regenerate the application and deployment manifests.  I used MAGEUI to do this. You first need to regenearte the application manifest, then the deployment manifest. 

Re: Problem with manifest file


David 02-12-2009, 6:26 PM
That is a good message.

Any further questions please feel free to contact us, thanks.

Re: Problem with manifest file


csasdfasfsaf 06-15-2011, 8:40 AM
hello

at first, sorry about my username, it didn't work correctly.

i have made an outlook addin on windows 7 with Visual Studio 2010 and office 2007.
now i want it install on windows xp with the office 2010.

I have always this error:

Name: AddinTest
Von: file:///C:/Dokumente und Einstellungen/christian/Desktop/veroeffenlichung/AddinTest.vsto

************** Ausnahmetext **************
System.Deployment.Application.InvalidDeploymentException: Die Datei 'AddinTest.dll' hat einen anderen berechneten Hash, als im Manifest angegeben ist.
   bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)
   bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()


what should i do?

Powered by Community Server, by Telligent Systems