View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Aale de Winkel Aale de Winkel is offline
external usenet poster
 
Posts: 12
Default Deployed add-in doesn't load

I wrote an excel 2007 add-in with C# using VSTO and VS 2005.
The add in works fine when started from VS 2005 so I sought to deploy.
The manifest reads:

<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" manifestVersion="1.0"
<assemblyIdentity name="WinPrefabExcelPane.dll" version="1.0.0.0" /
<asmv2:entryPoint name="Startup" dependencyName="dependency0"
<asmv2:clrClassInvocation class="WinPrefabExcelPane.ThisAddIn" /
</asmv2:entryPoint
<asmv2:dependency asmv2:name="dependency0"
<asmv2:dependentAssembly
<assemblyIdentity name="WinPrefabExcelPane" version="1.0.0.0"
publicKeyToken="67511199162933c1" /
</asmv2:dependentAssembly
<asmv2:installFrom codebase="WinPrefabExcelPane.dll" /
</asmv2:dependency
</assembly

Trying to load this installed version however I get after trying to load
this "COM Add-in" the message:

Load Behaviour: Not loaded. A runtime error occurred during the loading of
the Com Add-in.

this is the first Add-in I try to deploy in this manner, so I currently have
no clue of what is wrong here. The location of the manifest is as expected,
but something seems to be missing.
As said, starting from VS the add-in works fine.

Please help.