none
vsto installation RRS feed

  • Question

  • Hi,

    am obfuscating the vsto application, if i try to install the vsto with the obfuscated dll's its giving the following exception

    System.Deployment.Application.InvalidDeploymentException: File, OutlookSoloRibbon.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()

    as the manifest file is the pre-compiled one before obfuscation.

    how to overcome from this problems. any help would be appreciated.

     

    thanks in advance

     


    shilpakrishna
    Friday, November 25, 2011 7:04 AM

Answers

  • Hi Shilpakrishna,

     

    Thanks for posting in the MSDN Forum.

     

    The error might occur because the manifests are poorly formed, have unrecognized elements for their schemas, or have mismatched digital signatures. Would you please clarify some questions:

     

    1.         Do you modify the manifest file manually?

    2.         Do you generate new digital signature after your modify the manifest file?

     

    Please try to publish your ClickOnce application via following this article: http://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx. To see whether it can solved your issue.

     

    If you can show your manifest in the thread will help us to do further research on it.

     

    Have a good day,

     

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Monday, November 28, 2011 7:36 AM
    Moderator

All replies

  • Hi Shilpakrishna,

     

    Thanks for posting in the MSDN Forum.

     

    The error might occur because the manifests are poorly formed, have unrecognized elements for their schemas, or have mismatched digital signatures. Would you please clarify some questions:

     

    1.         Do you modify the manifest file manually?

    2.         Do you generate new digital signature after your modify the manifest file?

     

    Please try to publish your ClickOnce application via following this article: http://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx. To see whether it can solved your issue.

     

    If you can show your manifest in the thread will help us to do further research on it.

     

    Have a good day,

     

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Monday, November 28, 2011 7:36 AM
    Moderator
  • Hi Tom,

    am registering the manifest manually by using a mage command in visual studio command prompt, but its affecting other dll's which are in the respective folder, whenever i try to install a VSTO it says the dll in the manifest not matching with the existing identity . why is it so? is it not possible to avoid the signing of dll's by using a pfx file for vsto projects? or is there any other solution fot this? and am not generating the new digital signature after i modify the manifest file


    shilpakrishna
    Friday, December 9, 2011 1:09 PM