Where is the Build Key File option in VS 2008?

I am trying to create an application, strongly named. This is a link to the COM interop library that I add in the Add Links dialog box. It was a while, but it seems that I remember that in older versions of the visual studio there was a project setup for the Wrapper Assembly Key File. I can not find it in Visual Studio 2008?

+3
source share
2 answers

I stumbled upon your message looking for the same thing, but found a different route myself to get around the problem of strongly naming the assembly related to COM Interop.

You can sign the assembly of the library of imported types with the key file before referencing it in Visual Studio using the parameter /keyfile:<key.snk>:

tlbimp MyCOMService.tlb /out:Interop.MyCOMService.dll /keyfile:MyKeyFile.snk
+2
source

Found in the project properties after reading this article below.

How to configure a strong name assembly key file (MSDN)

+1
source

Source: https://habr.com/ru/post/1708684/


All Articles