Strongly naming a 3rd party assembly - Could not load file or assembly

前端 未结 3 1746
野趣味
野趣味 2021-02-05 15:38

I am writing a Visual Studio 2012 extension, for internal use, which requires that all assemblies have a strong name. I am dependent on RestSharp (and a few other dlls), and si

3条回答
  •  春和景丽
    2021-02-05 16:19

    I wrote a NuGet solution level package to help with strong naming 3rd party assemblies with your own key.

    This is targeted for signing the contents of NuGet packages that are using unsigned assemblies, in order to be able to link to these packages where the consuming project is strongly named. Access to the original source code is not required, and you may sign any assembly with your own strong naming key. You may also delay-sign if desired.

    https://nuget.org/packages/Nivot.StrongNaming

    You can read more about it on my blog:

    http://www.nivot.org/blog/post/2013/04/30/Signing-unsigned-assemblies-in-NuGet-packages

提交回复
热议问题