I have created a component using VB.NET and trying to register it in the GAC.
To do that I tried to sign my assembly with a strong name and I encountered
2 problems.
Problem 1:
I can't find the "Strong name" option under the "Common Properties" of my
project's Property Page.
Problem 2:
I added the following
<assembly: AssemblyKeyFileAttribute("key.snk")>
to my component (using Visual Basic) and received the error message that
they can't find the specified file. My key file in residing in the same
folder as my solution and project files.
I also encountered the same error message when I tried to use the Assembly
linker to sign my assembly with a strong name.
I am using Visual Studio .NET 2003.
>Problem 2:
>I added the following
><assembly: AssemblyKeyFileAttribute("key.snk")>
Try making it "..\..\key.snk"
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
MagLim - 03 Mar 2005 09:53 GMT
It works now after specifying the full path.
Thanks.
"Mattias Sjögren" wrote:
> >Problem 2:
> >I added the following
[quoted text clipped - 3 lines]
>
> Mattias