|
Well, I downloaded the source code (incubating-log4net-1.2.9-beta.zip) from http://logging.apache.org/log4net/downloads.html and tried to rebuild log4net but I'm getting too many errors. A lot of referencing issues with patternconverters and what not. I opened log4set.sln in VS.net and then did "rebuild solution" from the "build" menu. Is there any other website where we can get log4net ready-to-use code?
- Ramaa
-----Original Message-----
Have you rebuilt the log4net library with a strong name key? The message is that log4net is missing a strong name, not your project.
/Göran
-----Original Message----- From: Ramaa Davanagere [mailto:[EMAIL PROTECTED] Sent: den 2 september 2005 16:35 To: 'Log4NET User' Subject: 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
|
- Strong name and Log4net Ramaa Davanagere
- Re: Strong name and Log4net Ron Grabowski
- RE: Strong name and Log4net Ramaa Davanagere
- RE: Strong name and Log4net Göran Roseen
- RE: Strong name and Log4net Ramaa Davanagere
- RE: Strong name and Log4net Göran Roseen
- RE: Strong name and Log4net Ramaa Davanagere
