You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Ramaa Davanagere <RD...@mobius.com> on 2006/09/13 19:07:08 UTC
getting the latest version of log4net 1.2.10
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
1. Should I uninstall the older version first? If so, how do I
uninstall it?
2. Or, can I replace the existing version 1.2.9 with the newer 1.2.10
version?
3. Can I have both versions on the same machine but in different
locations?
Thanks
-Ramaa
Re: getting the latest version of log4net 1.2.10
Posted by Ron Grabowski <ro...@yahoo.com>.
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 <RD...@mobius.com> wrote:
> 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
>
>
>
> 1. Should I uninstall the older version first? If so, how do I
> uninstall it?
> 2. Or, can I replace the existing version 1.2.9 with the newer 1.2.10
> version?
> 3. Can I have both versions on the same machine but in different
> locations?
>
>
>
> Thanks
>
>
>
> -Ramaa
>
>