logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramaa Davanagere <RDAVA...@mobius.com>
Subject RE: Strong name and Log4net
Date Fri, 02 Sep 2005 14:35:17 GMT

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:goran@roseen.se] 
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:RDAVANAG@mobius.com] 
Sent: den 2 september 2005 16:17
To: 'Log4NET User'
Cc: 'rongrabowski@yahoo.com'
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:rongrabowski@yahoo.com] 
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 <RDAVANAG@mobius.com> wrote: 

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


Mime
View raw message