Strong Signed Assemblies

前端 未结 10 1201
青春惊慌失措
青春惊慌失措 2020-12-05 13:42

I have a project I made in Visual Basic 2008 Express. I converted it from someone else\'s C# project, but it works. It has several DLL dependencies. I went to publish my pro

10条回答
  •  粉色の甜心
    2020-12-05 14:25

    To create a strong name just go to the SDK Command Prompt or Visual Studio 200X Command Prompt then type in the following

    sn -k sgKey.snk
    

    Refer this link for details

    Then associate the strong name to your assembly by running the below command

    al /out:MyAssembly.dll MyOldAssembly.dll /keyfile:sgKey.snk
    

    Refer this link for details

提交回复
热议问题