Error reading key file

  • Thread starter Thread starter Kel Good
  • Start date Start date
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
 
* "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]>
 
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.
 
Back
Top