Refer DLL without strong name.

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

Refer DLL without strong name.
 
ravinukala




Posts: 103
Joined: 2012-10-05
Hi,

I am Referring a DLL without strong name in Add In project.
I am not able ti use any class from that dll.

Is there any way to do it?

Also, Is there any way to remove strong name from Plug in dll?

Please help.

Thanks.
Posted 26 Oct, 2012 06:29:21 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Ravi,

You should use the strong name in your project. Otherwise, you will not able to register the add-on for COM interop.
Posted 26 Oct, 2012 10:14:48 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Ravi, probably I misunderstood you. Do you get any errors in Visual Studio when you compile the add-on project?
Posted 26 Oct, 2012 11:37:39 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Ravi,

If you get the 'error CS1577: Assembly generation failed -- Referenced assembly 'xxxxxx' does not have a strong name' error in Visual Studio, you need to uncheck the 'Sign the assembly' option in Properties of the add-on project (see the Signing tab).
Posted 26 Oct, 2012 14:24:55 Top