Cannot register assembly ... A strongly-named assembly is required

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

Cannot register assembly ... A strongly-named assembly is required
 
gjvdkamp




Posts: 56
Joined: 2018-08-28
Hi I needed to install a nuget package that has not been signed, now ADX can't register the add-in anymore.

Cannot register assembly "C:\path\MyAssembly.dll". Could not load file or assembly 'My
Assembly, Version=2.9.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required.

I tried signing the manifest and the affected file with adxpatch (both through the cmd and as post build event) but the error remains.

Do you you have any idea what to do?
Posted 30 Jul, 2019 03:04:58 Top
Andrei Smolin


Add-in Express team


Posts: 18787
Joined: 2006-05-11
Hello,

If there's a non-strong-named assembly referenced by your add-in assembly, you can remove the strong name from the add-in project; see the Signing tab of your project Properties. Before you uncheck the "Sign the assembly" check box, make sure the manifest is writable. After the check box is cleared, rebuild the project.


Andrei Smolin
Add-in Express Team Leader
Posted 30 Jul, 2019 03:40:53 Top
gjvdkamp




Posts: 56
Joined: 2018-08-28
Excellent thanks again!
Posted 30 Jul, 2019 05:06:22 Top