Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Digital Signing...Error Using Relative Path For AssemblyKeyFile

Thread Tools

Digital Signing...Error Using Relative Path For AssemblyKeyFile

Posts: n/a

I am trying to digitally sign an old application in ASP.Net. For that
purpose I created a Strong Name Key File.

The snk file is located in a root-level directory. in Bin\DG_Key
directory. For some reason when I use :

<Assembly: AssemblyKeyFileAttribute("DG_Key\testKey.snk")>
I get an error :

"Error creating assembly manifest: Error reading key file 'DG_Key
\testKey.snk' -- The system cannot find the path specified. "

When I use absolute path everything seems to be fine. but I just
cannot set the relative path

I have also tried bunch of different ways. I am going crazy.. PLEASE
HELP !!!!

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile' SenthilVel ASP .Net 1 08-04-2006 02:50 AM
AssemblyKeyFile location problem in ASP.NET Web Application Jarmo Muukka ASP .Net 1 11-01-2004 12:46 PM
AssemblyKeyFile attribute George Durzi ASP .Net 1 02-06-2004 04:19 PM
AssemblyKeyFile in Web Service Norm Dotti ASP .Net Web Services 0 08-19-2003 05:09 PM