The Log4Net mailing list is a great source of information about using log4Net, in this forum we collect all the messages in the log4net user list and some selected threads from the developer list.
| Author |
Messages |
|
Ramaa Davanagere
 |
| 09/13/2006 7:07 PM |
|
Hello,
I currently have 1.2.9 version and want to upgrade to 1.2.10 but I don't see any steps regarding the upgrade on the website. Here is the list of questions that I have
- Should I uninstall the older version first? If so, how do I uninstall it?
- Or, can I replace the existing version 1.2.9 with the newer 1.2.10 version?
- Can I have both versions on the same machine but in different locations?
Thanks
-Ramaa |
|
|
|
|
Ron Grabowski
 |
| 09/14/2006 4:42 AM |
|
You can't really "uninstall" a .NET assembly the same way you install and uninstall software. If you want change the version of log4net you're project is built against, you need to remove then re-add a reference to the newer version of log4net. Its possible to have both 1.2.9 and 1.2.10 installed at the same time assuming they're installed in the GAC. I doubt you'll be able to simply put a newer version of log4net in an application's bin directory and have it recognize it.
.NET assemblies are associated with applications on a per application basis. Assuming you have two applications in seperate folders:
\ConsoleApplication1\bin\log4net.dll 1.2.9 \ConsoleApplication2\bin\log4net.dll 1.2.10
You can use two different versions of log4net. Renaming a copy of log4net so two copies of the assembly are in the bin directory will not work:
\ConsoleApplication1\bin\log4netOLD.dll 1.2.9 \ConsoleApplication1\bin\log4netNEW.dll 1.2.10
|
|
|
|
|
Ramaa Davanagere
 |
| 09/14/2006 2:27 PM |
|
Thanks for the information.
I created a sample C# class library test project and trying to add the new log4net 1.2.10 reference to it but I get the following error. Can you tell me what is wrong?

Ramaa
|
|
|
|
|
Ramaa Davanagere
 |
| 09/14/2006 2:40 PM |
|
Does log4net version 1.2.10 support .NET framework version 1.1.4322 SP1?
|
|
|
|
|
Ramaa Davanagere
 |
| 09/14/2006 2:49 PM |
|
Never mind. I was using 1.2.10 (.net framework 2.0) version on .net framework 1.1 and hence the error.
Thanks anyway.
|
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|