Where do I put the .snk file?

G

Guest

Okay. I'm creating a dll I'd like to put into the GAC, this way I can reuse
some of my common classes. I need to strongname it though. I've created the
key, and I've added the line to the AssemblyInfo.vb file, but when I compile,
it says it can't find the file. Where should I put it so it can find the file?

<Assembly: AssemblyKeyFile("strongNameFile.snk")>

Thanks again for the help!
 
G

Guest

Hey that worked. I got the file to compile.
I then added my compiled dll file to the GAC. It seemed to work fine, but
when I try to use it by adding it into the machine.config file, (so I can use
it in web apps), the server freaks out, claiming it can't find it or one if
it's dependicies. I'm thinking that it cannot find the .snk file.
Where on the web server sould THAT file go?

Thanks!
 
G

Guest

Nevermind. I actually figured it out.
I added the file to the GAC on MY machine, but not the web server.
Once I did that, it seemed to work fine.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top