Error reading key file

K

Kel Good

I have a component which I want to register for COM interop. At the top of
my code file I have the following lines.

Imports System.Reflection

<Assembly: AssemblyKeyFileAttribute("myKey.snk")>

The myKey.snk file is in the component project directory (I have also tried
with it in the bin directory), but I keep getting the following error
message when I try to build:

Error creating assembly manifest: Error reading key file 'myKey.snk' -- The
system cannot find the file specified.


Any ideas?

Thanks.

Kel
 
H

Herfried K. Wagner [MVP]

* "Kel Good said:
I have a component which I want to register for COM interop. At the top of
my code file I have the following lines.

Imports System.Reflection

<Assembly: AssemblyKeyFileAttribute("myKey.snk")>

The myKey.snk file is in the component project directory (I have also tried
with it in the bin directory), but I keep getting the following error
message when I try to build:

Error creating assembly manifest: Error reading key file 'myKey.snk' -- The
system cannot find the file specified.

See (complete thread):

<http://groups.google.com/[email protected]>
 
K

Kel Good

Thanks for the info Herfried. Good to know it is Microsoft and not me to
blame for this inconvenience. Beats me why they would have changed this.
 

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