NN (Created) (JIRA | 6 Dec 16:51 2011
Picon

[jira] [Created] (LOG4NET-319) .Net 4.0 build

.Net 4.0 build
--------------

                 Key: LOG4NET-319
                 URL: https://issues.apache.org/jira/browse/LOG4NET-319
             Project: Log4net
          Issue Type: Improvement
          Components: Builds
    Affects Versions: 1.2.11, 1.2.12
         Environment: Nothing special
            Reporter: NN

Currently log4net.vs2010 doesn't build log4net for .Net 4.0 but for .Net 2.0

This patch adds additional project to build only for .Net 4.0 without 2.0 dependencies.

The change is here: https://github.com/apache/log4net/pull/2/files
It just adds another project and puts it in solution.
Nothing special.

Another option is to set .Net 4.0 build for log4net.vs2010.csproj

Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

(Continue reading)

Picon

[jira] [Resolved] (LOG4NET-319) .Net 4.0 build


     [
https://issues.apache.org/jira/browse/LOG4NET-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig resolved LOG4NET-319.
------------------------------------

    Resolution: Invalid

The NET_2_0 define is not a subset of NET_4_0.

If you look through the code you'll find several places where NET_2_0 is meant as .NET 2.x or better.  NET_4_0
is only there for code that requires 4.0 in addition.  With
your patch we'd actually break several things.

WRT github, with JIRA attachments you'd have a checkbox you could click in order to grant a license to the
ASF.  Without that I'd have to ask you explicitly for each patch.

> .Net 4.0 build
> --------------
>
>                 Key: LOG4NET-319
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-319
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Builds
>    Affects Versions: 1.2.11, 1.2.12
>         Environment: Nothing special
>            Reporter: NN
>   Original Estimate: 10m
(Continue reading)

NN (Commented) (JIRA | 7 Dec 08:56 2011
Picon

[jira] [Commented] (LOG4NET-319) .Net 4.0 build


    [
https://issues.apache.org/jira/browse/LOG4NET-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164221#comment-13164221
] 

NN commented on LOG4NET-319:
----------------------------

I see, but the problem is quite different.
I wanted a log4net build without any dependency on CLR 2.0 .
I guess other people may want this build too.

> .Net 4.0 build
> --------------
>
>                 Key: LOG4NET-319
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-319
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Builds
>    Affects Versions: 1.2.11, 1.2.12
>         Environment: Nothing special
>            Reporter: NN
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Currently log4net.vs2010 doesn't build log4net for .Net 4.0 but for .Net 2.0
> This patch adds additional project to build only for .Net 4.0 without 2.0 dependencies.
> The change is here: https://github.com/apache/log4net/pull/2/files
> It just adds another project and puts it in solution.
(Continue reading)

Picon

[jira] [Commented] (LOG4NET-319) .Net 4.0 build


    [
https://issues.apache.org/jira/browse/LOG4NET-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164287#comment-13164287
] 

Stefan Bodewig commented on LOG4NET-319:
----------------------------------------

There shouldn't be any dependency on the CLR 2.0 in the build as it is.

The only things your patch changes is thr project GUID, the output path and whether NET_2_0 is defined (and
it has to be defined in order to get a working 4.0 version).

I'm afraid I don't understand what kind of problem you are trying to solve.  The solution creates a "real" 4.0 assembly.

Please also note that the Solution file is there to help other developers only, the real build system for
log4net is NAnt.

> .Net 4.0 build
> --------------
>
>                 Key: LOG4NET-319
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-319
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Builds
>    Affects Versions: 1.2.11, 1.2.12
>         Environment: Nothing special
>            Reporter: NN
>   Original Estimate: 10m
(Continue reading)

NN (Commented) (JIRA | 7 Dec 14:52 2011
Picon

[jira] [Commented] (LOG4NET-319) .Net 4.0 build


    [
https://issues.apache.org/jira/browse/LOG4NET-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164398#comment-13164398
] 

NN commented on LOG4NET-319:
----------------------------

Ok, thanx :)
Btw, where I can download the log4net.dll file for .Net 4.0 ?

> .Net 4.0 build
> --------------
>
>                 Key: LOG4NET-319
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-319
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Builds
>    Affects Versions: 1.2.11, 1.2.12
>         Environment: Nothing special
>            Reporter: NN
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Currently log4net.vs2010 doesn't build log4net for .Net 4.0 but for .Net 2.0
> This patch adds additional project to build only for .Net 4.0 without 2.0 dependencies.
> The change is here: https://github.com/apache/log4net/pull/2/files
> It just adds another project and puts it in solution.
> Nothing special.
(Continue reading)

Picon

[jira] [Commented] (LOG4NET-319) .Net 4.0 build


    [
https://issues.apache.org/jira/browse/LOG4NET-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164407#comment-13164407
] 

Stefan Bodewig commented on LOG4NET-319:
----------------------------------------

All DLLs are inside the binary distribution you can download from http://logging.apache.org/log4net/download_log4net.cgi

The 4.0 DLLs are in net/4.0 (and the 4.0 Client Profile ones in net-cp/4.0)

> .Net 4.0 build
> --------------
>
>                 Key: LOG4NET-319
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-319
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Builds
>    Affects Versions: 1.2.11, 1.2.12
>         Environment: Nothing special
>            Reporter: NN
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Currently log4net.vs2010 doesn't build log4net for .Net 4.0 but for .Net 2.0
> This patch adds additional project to build only for .Net 4.0 without 2.0 dependencies.
> The change is here: https://github.com/apache/log4net/pull/2/files
> It just adds another project and puts it in solution.
(Continue reading)


Gmane