Weird assembly key problem

From: Vagif Abilov (vagif_at_online.no)
Date: 03/22/04


Date: Mon, 22 Mar 2004 10:13:44 +0100

I have an application that uses a simple utility DLL. The DLL has a key
specified in AssemblyInfo file:

[assembly: AssemblyKeyFile(@"..\..\Utils.snk")]

Everything works fine on a development machine. Now when I try to install
the application with utility assembly on a machine with just W2K and .NET
1.1 installed, it does not start.

("Application has generated exception that could not be handled...").

This exception is generated when application is being loaded.

If I remove the above line (assembly key file specification) everything
goes fine.

What can this mean?

TIA

Vagif Abilov



Relevant Pages

  • Re: error msg "assembly identity could not be determined"
    ... You haven't got a 1.0.* in your assemblyinfo file have you? ... Definitive Guide to Windows Installer ... > an error message 'runtime error' 'assembly identity could not be ...
    (microsoft.public.dotnet.framework.interop)
  • problem assigning strong name to assembly -winapp
    ... and it has been set in the assemblyinfo file .If i build the application ... It is natural the bin folder is created and i thought the exe file ... So,by this is i can conclude that the strongname is assigned to the ...
    (microsoft.public.dotnet.security)
  • Re: Strong naming
    ... Any assembly that you want to put into the GAC is required to have a "Strong ... Then open up your project's AssemblyInfo file and add this: ... goto the index tab and goto "strong-named assemblies" ...
    (microsoft.public.dotnet.languages.vb)
  • Re: license an assembly
    ... Fill in this information in the AssemblyInfo file found in your project. ... There you can specify the ... version number, the strong name public key, company name, product name, ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)