Penn Ye
Posts: 18
Joined: 2016-06-05
|
As https://github.com/MahApps/MahApps.Metro/issues/3339 described.
There is no need for strong-named dll any more.
In com-addin, the strongname is just used for located dll in gac, not in specified file location.
Try to use non strong-named dll in my project. All is works.
Com-Addin is loaded, taskpane is loaded.
Registry in CLSID:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTCLSID{3DF4A35F-4EB0-4A19-BA05-E27AE572DC1C}]
@="{4BA250A6-8BCA-46A6-982A-F340081187C3}"
[HKEY_CLASSES_ROOTCLSID{3DF4A35F-4EB0-4A19-BA05-E27AE572DC1C}Implemented Categories]
[HKEY_CLASSES_ROOTCLSID{3DF4A35F-4EB0-4A19-BA05-E27AE572DC1C}Implemented Categories{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}]
[HKEY_CLASSES_ROOTCLSID{3DF4A35F-4EB0-4A19-BA05-E27AE572DC1C}InprocServer32]
@="{adxloader.dll path}"
"ThreadingModel"="Apartment"
"Class"="iSlideTools.ThisAddin"
"Assembly"="iSlideTools, Version=5.0.2.0, Culture=neutral, PublicKeyToken=null"
"RuntimeVersion"="v4.0.30319"
"CodeBase"="{entry dll path}"
[HKEY_CLASSES_ROOTCLSID{3DF4A35F-4EB0-4A19-BA05-E27AE572DC1C}InprocServer32.0.2.0]
"Class"="iSlideTools.ThisAddin"
"Assembly"="iSlideTools, Version=5.0.2.0, Culture=neutral, PublicKeyToken=null"
"RuntimeVersion"="v4.0.30319"
"CodeBase"="{entry dll path}"
[HKEY_CLASSES_ROOTCLSID{3DF4A35F-4EB0-4A19-BA05-E27AE572DC1C}ProgId]
@="iSlideTools.Beta"
So why not remove strongname to support more packages in nuget without strongname directly? |
|
Sergey Grischenko
Add-in Express team
Posts: 7233
Joined: 2004-07-05
|
Hi Penn,
You can remove the .snk file from your project if you wish. The add-in should work properly. |
|
Penn Ye
Posts: 18
Joined: 2016-06-05
|
I thought that the strong-named dll is required for regasm or something else.
Thanks for your reply, now I could develop addin without strongname without any hesitation. |
|