« Previous Next »

Thread: CustomManifest with GacAssembly

Last post 11-20-2009 6:40 AM by swjensen. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-19-2009, 7:46 AM

    • swjensen
    • Not Ranked
    • Joined on 11-16-2002, 7:08 AM
    • Posts 4

    CustomManifest with GacAssembly

    Today I installed the 1.0 version of the Web Deployment Tool, and now I am getting errors when I try to sync to a package from a custom manifest file. Same error happens when using -verb:dump.

    Then content of the manifest is this (the example from the website): 

    <sitemanifest>
       <gacAssembly path="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </sitemanifest>

    The command line:


    "C:\Program Files\IIS\Microsoft Web Deploy\msdeploy" -verb:sync -source:manifest=C:\temp\customManifest.xml -dest:package=c:\temp\package_local_gacAssembly.zip

    And the error: 


    Error: Object of type 'manifest' and path 'C:\temp\customManifest.xml' cannot be created.
    Error: The library 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
    Error: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
    Error count: 1.

    Hope someone can help

    Regards

    Søren

  • 11-19-2009, 12:33 PM In reply to

    Re: CustomManifest with GacAssembly

    can you make two changes and try and let me know how it goes:

    Change the manifest as:

    <MSDeploy.gacAssembly>
       <gacAssembly path="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </MSDeploy.gacAssembly>

    and run the command with the debug switch as:

    "C:\Program Files\IIS\Microsoft Web Deploy\msdeploy" -verb:sync -source:manifest=C:\temp\customManifest.xml -dest:package=c:\temp\package_local_gacAssembly.zip -debug

    Thanks

  • 11-19-2009, 4:04 PM In reply to

    Re: CustomManifest with GacAssembly

    I think the real issue is that you need to use processor architecture.

    Add the ( processorArchitecture=<x86/amd64/msil > )    or use the shortname gacAssembly path="System.Web”

    Let us know if this does not work for you.

     

  • 11-20-2009, 6:40 AM In reply to

    • swjensen
    • Not Ranked
    • Joined on 11-16-2002, 7:08 AM
    • Posts 4

    Re: CustomManifest with GacAssembly

    processorArchitecture=x86 did the trick.

    Thank you very much for the quick response:)

Page 1 of 1 (4 items)
Microsoft Communities