Error reading key file '..\..\..\OurKey.snk' -- The system cannot find the file specified

B

Ben

Hi

We have setup a Strong Name for our Applications, but are having problems
with the essembly throwing an error:

Error creating assembly manifest: Error reading key file
'..\..\..\OurKey.snk' -- The system cannot find the file specified.
<Assembly: AssemblyKeyFile("..\..\OurKey.snk")>


I have put the key in every possible folder, we are using Framework 1.1.

I have searched google and tried every solution i have found with no luck.

Any help would be much appreciated


Thanks
B
 
R

Rad [Visual C# MVP]

Hi

We have setup a Strong Name for our Applications, but are having problems
with the essembly throwing an error:

Error creating assembly manifest: Error reading key file
'..\..\..\OurKey.snk' -- The system cannot find the file specified.
<Assembly: AssemblyKeyFile("..\..\OurKey.snk")>

I have put the key in every possible folder, we are using Framework 1.1.

I have searched google and tried every solution i have found with no luck.

Any help would be much appreciated

Thanks
B

The..\..\would refer to the parent folder of the parent folder relative to
the location of the asseblyinfo.vb file so make sure it is placed
accordinglu.

You could also just put the full path ti the file directly
 
B

Ben

Thanks for your post.

Sorry but I made a big mistake, working too late on multiple projects. I
was putting the key in the folder for a different project.

Thanks for your help and sorry for wasting time.

Thanks
B
 

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