G
George Durzi
Trying to assign a strong name to my assembly. I've created the .snk file
for it.
My assembly is called Common. Mail
In Assembly.cs, if I do this:
[assembly: AssemblyKeyFile(@"C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Bin\Common.Mail.snk")]
it works great, but I don't wanna hardcode the path to the bin directory,
since it might change.
In the help documenation, they had it shown as
[assembly: AssemblyKeyFile(@"..\..\Common.Mail.snk")]
but that doesn't work ...
I'm assuming ..\..\ was trying to get to the v1.1\Bin directory but wasn't.
How do I do this without hardcoding the path
for it.
My assembly is called Common. Mail
In Assembly.cs, if I do this:
[assembly: AssemblyKeyFile(@"C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Bin\Common.Mail.snk")]
it works great, but I don't wanna hardcode the path to the bin directory,
since it might change.
In the help documenation, they had it shown as
[assembly: AssemblyKeyFile(@"..\..\Common.Mail.snk")]
but that doesn't work ...
I'm assuming ..\..\ was trying to get to the v1.1\Bin directory but wasn't.
How do I do this without hardcoding the path