Title: RE: Strong name and Log4net

I made the change as you described below

[assembly: AssemblyKeyFile("log4net.snk")]

and I still get the same error message. I'm using C#.


- Ramaa


-----Original Message-----
From: Göran Roseen [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 02, 2005 10:26 AM
To: 'Log4NET User'
Subject: RE: Strong name and Log4net


Do you reference the strong name file in the Assembly Info?
In AssemblyInfo.cs (if you use C#) there is an attribute [assembly:
AssemblyKeyFile("")].
Replace the empty string with the name of you file.

/Göran

-----Original Message-----
From: Ramaa Davanagere [mailto:[EMAIL PROTECTED]]
Sent: den 2 september 2005 16:17
To: 'Log4NET User'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Strong name and Log4net


Thanks for your help.

I created a strongname (snk) for log4net and copied it to my project folder.
My project is using log4net as one of its references and my project is set
to true for "Register for COM Interop". But when I build my project I get
the following error. What am I doing wrong? I am new to log4net, so please
be patient with me.

Error is "Assembly generation failed -- Referenced assembly log4net does not
have strong name"

Thanks a ton for your help.

- Ramaa


-----Original Message-----
From: Ron Grabowski [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 02, 2005 10:02 AM
To: Log4NET User
Subject: Re: Strong name and Log4net

Have you read this file:

 http://cvs.apache.org/viewcvs.cgi/logging-log4net/log4net.snk.readme

--- Ramaa Davanagere <[EMAIL PROTECTED]> wrote:

> Is there a strong name for log4net? If so, what is it? If there isn't
> one,
> can we create one?
>

>
> Ramaa Davanagere

Reply via email to