error when build solution and/or Register ADX Project

Add-in Express™ Support Service
That's what is more important than anything else

error when build solution and/or Register ADX Project
Unable to emit assembly 
Jonathan Dorling




Posts: 31
Joined: 2005-06-14
hi there,

error when build solution and/orRegister ADX Project
this is the error

"Unable to emit assembly: Referenced assembly 'Interop.AddInDesignerObjects' does not have a strong name"


thanks in adv

Jonathan
Posted 15 Jun, 2005 11:44:06 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jonathan.

I suppose you have included the Interop.AddInDesignerObjects.dll to your add-in project. If so, you should use the sn.exe utility from .NET SDK to sign the Interop.AddInDesignerObjects assembly with strong name.
Posted 15 Jun, 2005 13:58:10 Top
Jonathan Dorling




Posts: 31
Joined: 2005-06-14
so i just have to run the sn.exe once??
Posted 21 Jun, 2005 07:53:45 Top
Jonathan Dorling




Posts: 31
Joined: 2005-06-14
and how you use it??
Posted 21 Jun, 2005 08:29:15 Top
Aleksey Zhigar


Guest


Hi Jonathan.
You are to run:
1. sn -k keyPair.snk
2. To create and sign an assembly with a strong name using the Assembly Linker
At the command prompt, type the following command:
al /out:<assembly name> <module name> /keyfile:<file name>
In this command, assembly name is the name of the assembly to sign with a strong name, module name is the name of the code module used to create the assembly, and file name is the name of the container or file that contains the key pair.
The following example signs the assembly MyAssembly.dll with a strong name using the key file keyPair.snk
al /out:MyAssembly.dll MyModule.netmodule /keyfile:keyPair.snk

I also recommend you reading the article "Signing an Assembly with a Strong Name" from the Developers Guide .NET Framework. You can find other interesting and useful things there.
Posted 21 Jun, 2005 08:44:20 Top
Jonathan Dorling




Posts: 31
Joined: 2005-06-14
i did step on with out a problem

but step 2 i can't i do the below but i don't know wat to put as the MyModule.netmodule??

al /out:Interop.AddInDesignerObjects.dll MyModule.netmodule /keyfile:keyPair.snk

any help please

thanks
Posted 24 Jun, 2005 08:54:41 Top