[jira] [Commented] (LOG4NET-467) Is .NET Core, will be supported in the near future, or not

2016-11-29 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on LOG4NET-467:


Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
I think c661441 holds the necessary changes. Unfortunately assembling the 
release bits for log4net still requires two different VMs and about an hour of 
time, so I may need a few days before I can re-create the package.


> Is .NET Core, will be supported in the near future, or not
> --
>
> Key: LOG4NET-467
> URL: https://issues.apache.org/jira/browse/LOG4NET-467
> Project: Log4net
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.2.13
>Reporter: san kan
>  Labels: features
> Fix For: 2.0.6
>
> Attachments: LOG4NET-467.patch
>
>
> As you know, ms is moving heavily toward .Net core:
> https://github.com/dotnet/core
> so, is there a road map for making a version that supports it?
> and i noticed that log4net, has not been updated for 2 years.
> so is it maintained, or being forgotten?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
I think c661441 holds the necessary changes. Unfortunately assembling the 
release bits for log4net still requires two different VMs and about an hour of 
time, so I may need a few days before I can re-create the package.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (LOG4NET-467) Is .NET Core, will be supported in the near future, or not

2016-11-29 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on LOG4NET-467:


Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
The [nuspec](https://github.com/apache/log4net/blob/trunk/log4net.nuspec) 
doesn't list any dependencies, this is because all dependencies of log4net are 
part of the framework for the Mono and .NET versions.

Re-reading the nuspec schema we probably need to add a dependency `group` 
with the `targetFramework` set properly.  I'll try to see what the nuspec 
created with `dotnet pack` looks like.


> Is .NET Core, will be supported in the near future, or not
> --
>
> Key: LOG4NET-467
> URL: https://issues.apache.org/jira/browse/LOG4NET-467
> Project: Log4net
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.2.13
>Reporter: san kan
>  Labels: features
> Fix For: 2.0.6
>
> Attachments: LOG4NET-467.patch
>
>
> As you know, ms is moving heavily toward .Net core:
> https://github.com/dotnet/core
> so, is there a road map for making a version that supports it?
> and i noticed that log4net, has not been updated for 2 years.
> so is it maintained, or being forgotten?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
The [nuspec](https://github.com/apache/log4net/blob/trunk/log4net.nuspec) 
doesn't list any dependencies, this is because all dependencies of log4net are 
part of the framework for the Mono and .NET versions.

Re-reading the nuspec schema we probably need to add a dependency `group` 
with the `targetFramework` set properly.  I'll try to see what the nuspec 
created with `dotnet pack` looks like.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (LOG4NET-536) Can't build for NETCF-2.0

2016-11-29 Thread luzht (JIRA)

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

luzht commented on LOG4NET-536:
---

Good news!  BUILD SUCCEEDED.
Thank you very much.

> Can't build for NETCF-2.0
> -
>
> Key: LOG4NET-536
> URL: https://issues.apache.org/jira/browse/LOG4NET-536
> Project: Log4net
>  Issue Type: Bug
>  Components: Builds
>Affects Versions: 1.2.15
> Environment: win7 x64
>Reporter: luzht
>Priority: Blocker
>  Labels: build-failure
> Fix For: 2.0.6
>
>
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Licensed to the Apache Software Foundation (ASF) 
> under one 
> E:\lib\log4net-1.2.15>rem or more contributor license agreements.  See the 
> NOTICE file 
> E:\lib\log4net-1.2.15>rem distributed with this work for additional 
> information 
> E:\lib\log4net-1.2.15>rem regarding copyright ownership.  The ASF licenses 
> this file 
> E:\lib\log4net-1.2.15>rem to you under the Apache License, Version 2.0 (the 
> E:\lib\log4net-1.2.15>rem "License"); you may not use this file except in 
> compliance 
> E:\lib\log4net-1.2.15>rem with the License.  You may obtain a copy of the 
> License at 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem   http://www.apache.org/licenses/LICENSE-2.0 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Unless required by applicable law or agreed to in 
> writing, 
> E:\lib\log4net-1.2.15>rem software distributed under the License is 
> distributed on an 
> E:\lib\log4net-1.2.15>rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
> ANY 
> E:\lib\log4net-1.2.15>rem KIND, either express or implied.  See the License 
> for the 
> E:\lib\log4net-1.2.15>rem specific language governing permissions and 
> limitations 
> E:\lib\log4net-1.2.15>rem under the License. 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> LOG4NET_DIR is E:\lib\log4net-1.2.15
> NANTEXE_PATH is E:\tools\nant-0.92\bin\nant.exe
> BUILD_FILE is E:\lib\log4net-1.2.15\log4net.build
> NAnt 0.92 (Build 0.92.4543.0; release; 2012-06-09)
> Copyright (C) 2001-2012 Gerry Shaw
> http://nant.sourceforge.net
> Buildfile: file:///E:/lib/log4net-1.2.15/log4net.build
> Target framework: Microsoft .NET Framework 4.0
> Target(s) specified: compile-all 
> check-current-build-config:
> set-build-configuration:
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> check-current-build-config:
> set-framework-configuration:
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-net-4.0-runtime-configuration:
> generate-assembly-description:
>[delete] Deleting file E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs.
>   [asminfo] Generated file 
> 'E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs'.
> compile-all:
>  [echo] Compiling all build configurations for all runtime configurations.
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> compile-build:
>  [echo] Compiling all framework versions for the debug build 
> configuration.
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-netcf-2.0-runtime-configuration:
>  [property] Target framework changed to "Microsoft .NET Compact Framework 
> 2.0".
> check-log4net-basedir:
> check-current-bin-dir:
> clean-current-bin-dir:
>  [echo] Cleaning the bin/netcf/2.0/debug binaries directory.
>[delete] Deleting directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> [mkdir] Creating directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> compile-netcf-2.0:
>   [csc] Compiling 225 files to 
> 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(36,20): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(48,39): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
> BUILD FAILED
> E:\lib\log4net-1.2.15\log4net.build(454,6):
> External Program Failed: 
> C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe (return code was 1)
> Total time: 1.2 seconds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LOG4NET-536) Can't build for NETCF-2.0

2016-11-29 Thread luzht (JIRA)

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

luzht commented on LOG4NET-536:
---

OK,I'll try it again later

> Can't build for NETCF-2.0
> -
>
> Key: LOG4NET-536
> URL: https://issues.apache.org/jira/browse/LOG4NET-536
> Project: Log4net
>  Issue Type: Bug
>  Components: Builds
>Affects Versions: 1.2.15
> Environment: win7 x64
>Reporter: luzht
>Priority: Blocker
>  Labels: build-failure
> Fix For: 2.0.6
>
>
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Licensed to the Apache Software Foundation (ASF) 
> under one 
> E:\lib\log4net-1.2.15>rem or more contributor license agreements.  See the 
> NOTICE file 
> E:\lib\log4net-1.2.15>rem distributed with this work for additional 
> information 
> E:\lib\log4net-1.2.15>rem regarding copyright ownership.  The ASF licenses 
> this file 
> E:\lib\log4net-1.2.15>rem to you under the Apache License, Version 2.0 (the 
> E:\lib\log4net-1.2.15>rem "License"); you may not use this file except in 
> compliance 
> E:\lib\log4net-1.2.15>rem with the License.  You may obtain a copy of the 
> License at 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem   http://www.apache.org/licenses/LICENSE-2.0 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Unless required by applicable law or agreed to in 
> writing, 
> E:\lib\log4net-1.2.15>rem software distributed under the License is 
> distributed on an 
> E:\lib\log4net-1.2.15>rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
> ANY 
> E:\lib\log4net-1.2.15>rem KIND, either express or implied.  See the License 
> for the 
> E:\lib\log4net-1.2.15>rem specific language governing permissions and 
> limitations 
> E:\lib\log4net-1.2.15>rem under the License. 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> LOG4NET_DIR is E:\lib\log4net-1.2.15
> NANTEXE_PATH is E:\tools\nant-0.92\bin\nant.exe
> BUILD_FILE is E:\lib\log4net-1.2.15\log4net.build
> NAnt 0.92 (Build 0.92.4543.0; release; 2012-06-09)
> Copyright (C) 2001-2012 Gerry Shaw
> http://nant.sourceforge.net
> Buildfile: file:///E:/lib/log4net-1.2.15/log4net.build
> Target framework: Microsoft .NET Framework 4.0
> Target(s) specified: compile-all 
> check-current-build-config:
> set-build-configuration:
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> check-current-build-config:
> set-framework-configuration:
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-net-4.0-runtime-configuration:
> generate-assembly-description:
>[delete] Deleting file E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs.
>   [asminfo] Generated file 
> 'E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs'.
> compile-all:
>  [echo] Compiling all build configurations for all runtime configurations.
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> compile-build:
>  [echo] Compiling all framework versions for the debug build 
> configuration.
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-netcf-2.0-runtime-configuration:
>  [property] Target framework changed to "Microsoft .NET Compact Framework 
> 2.0".
> check-log4net-basedir:
> check-current-bin-dir:
> clean-current-bin-dir:
>  [echo] Cleaning the bin/netcf/2.0/debug binaries directory.
>[delete] Deleting directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> [mkdir] Creating directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> compile-netcf-2.0:
>   [csc] Compiling 225 files to 
> 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(36,20): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(48,39): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
> BUILD FAILED
> E:\lib\log4net-1.2.15\log4net.build(454,6):
> External Program Failed: 
> C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe (return code was 1)
> Total time: 1.2 seconds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LOG4NET-467) Is .NET Core, will be supported in the near future, or not

2016-11-29 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on LOG4NET-467:


Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig Yeah, I'm also trying to get my head around .Net Core project 
setup. Things have been quite a bit in flux!

I think one will need to spec the dependencies, no? I could have it by the 
tail, though
I'll try the other build you linked to as well.


> Is .NET Core, will be supported in the near future, or not
> --
>
> Key: LOG4NET-467
> URL: https://issues.apache.org/jira/browse/LOG4NET-467
> Project: Log4net
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.2.13
>Reporter: san kan
>  Labels: features
> Fix For: 2.0.6
>
> Attachments: LOG4NET-467.patch
>
>
> As you know, ms is moving heavily toward .Net core:
> https://github.com/dotnet/core
> so, is there a road map for making a version that supports it?
> and i noticed that log4net, has not been updated for 2 years.
> so is it maintained, or being forgotten?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread SeanSnyders
Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig Yeah, I'm also trying to get my head around .Net Core project 
setup. Things have been quite a bit in flux!

I think one will need to spec the dependencies, no? I could have it by the 
tail, though
I'll try the other build you linked to as well.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (LOG4NET-536) Can't build for NETCF-2.0

2016-11-29 Thread Stefan Bodewig (JIRA)

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

Stefan Bodewig commented on LOG4NET-536:


AFAIU there is no system wide Mutex in NETCF. so LOG4NET-486 seems to have 
broken NETCF since 1.2.14.

For now I've hidden the mutex code in trunk, could you please try again so we 
can get to the next compilation error?

I won't close this issue for now as we are likely to touch the same code again 
when tackling LOG4NET-487 - we'll probably ask you to verify trunk builds again.

> Can't build for NETCF-2.0
> -
>
> Key: LOG4NET-536
> URL: https://issues.apache.org/jira/browse/LOG4NET-536
> Project: Log4net
>  Issue Type: Bug
>  Components: Builds
>Affects Versions: 1.2.15
> Environment: win7 x64
>Reporter: luzht
>Priority: Blocker
>  Labels: build-failure
> Fix For: 2.0.6
>
>
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Licensed to the Apache Software Foundation (ASF) 
> under one 
> E:\lib\log4net-1.2.15>rem or more contributor license agreements.  See the 
> NOTICE file 
> E:\lib\log4net-1.2.15>rem distributed with this work for additional 
> information 
> E:\lib\log4net-1.2.15>rem regarding copyright ownership.  The ASF licenses 
> this file 
> E:\lib\log4net-1.2.15>rem to you under the Apache License, Version 2.0 (the 
> E:\lib\log4net-1.2.15>rem "License"); you may not use this file except in 
> compliance 
> E:\lib\log4net-1.2.15>rem with the License.  You may obtain a copy of the 
> License at 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem   http://www.apache.org/licenses/LICENSE-2.0 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Unless required by applicable law or agreed to in 
> writing, 
> E:\lib\log4net-1.2.15>rem software distributed under the License is 
> distributed on an 
> E:\lib\log4net-1.2.15>rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
> ANY 
> E:\lib\log4net-1.2.15>rem KIND, either express or implied.  See the License 
> for the 
> E:\lib\log4net-1.2.15>rem specific language governing permissions and 
> limitations 
> E:\lib\log4net-1.2.15>rem under the License. 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> LOG4NET_DIR is E:\lib\log4net-1.2.15
> NANTEXE_PATH is E:\tools\nant-0.92\bin\nant.exe
> BUILD_FILE is E:\lib\log4net-1.2.15\log4net.build
> NAnt 0.92 (Build 0.92.4543.0; release; 2012-06-09)
> Copyright (C) 2001-2012 Gerry Shaw
> http://nant.sourceforge.net
> Buildfile: file:///E:/lib/log4net-1.2.15/log4net.build
> Target framework: Microsoft .NET Framework 4.0
> Target(s) specified: compile-all 
> check-current-build-config:
> set-build-configuration:
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> check-current-build-config:
> set-framework-configuration:
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-net-4.0-runtime-configuration:
> generate-assembly-description:
>[delete] Deleting file E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs.
>   [asminfo] Generated file 
> 'E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs'.
> compile-all:
>  [echo] Compiling all build configurations for all runtime configurations.
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> compile-build:
>  [echo] Compiling all framework versions for the debug build 
> configuration.
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-netcf-2.0-runtime-configuration:
>  [property] Target framework changed to "Microsoft .NET Compact Framework 
> 2.0".
> check-log4net-basedir:
> check-current-bin-dir:
> clean-current-bin-dir:
>  [echo] Cleaning the bin/netcf/2.0/debug binaries directory.
>[delete] Deleting directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> [mkdir] Creating directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> compile-netcf-2.0:
>   [csc] Compiling 225 files to 
> 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(36,20): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(48,39): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
> BUILD FAILED
> E:\lib\log4net-1.2.15\log4net.build(454,6):
> External Program Failed: 
> 

[jira] [Reopened] (LOG4NET-536) Can't build for NETCF-2.0

2016-11-29 Thread Stefan Bodewig (JIRA)

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

Stefan Bodewig reopened LOG4NET-536:


Many thanks, that's why I asked you test it.

NETCF is only supported on a best effort basis, i.e. we try to keep log4net 
building on NETCF but can't test it ourselves. Many thanks for helping us out.

I'll update this ticket once I've looked into the {{Mutex}} issue.

> Can't build for NETCF-2.0
> -
>
> Key: LOG4NET-536
> URL: https://issues.apache.org/jira/browse/LOG4NET-536
> Project: Log4net
>  Issue Type: Bug
>  Components: Builds
>Affects Versions: 1.2.15
> Environment: win7 x64
>Reporter: luzht
>Priority: Blocker
>  Labels: build-failure
> Fix For: 2.0.6
>
>
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Licensed to the Apache Software Foundation (ASF) 
> under one 
> E:\lib\log4net-1.2.15>rem or more contributor license agreements.  See the 
> NOTICE file 
> E:\lib\log4net-1.2.15>rem distributed with this work for additional 
> information 
> E:\lib\log4net-1.2.15>rem regarding copyright ownership.  The ASF licenses 
> this file 
> E:\lib\log4net-1.2.15>rem to you under the Apache License, Version 2.0 (the 
> E:\lib\log4net-1.2.15>rem "License"); you may not use this file except in 
> compliance 
> E:\lib\log4net-1.2.15>rem with the License.  You may obtain a copy of the 
> License at 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem   http://www.apache.org/licenses/LICENSE-2.0 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Unless required by applicable law or agreed to in 
> writing, 
> E:\lib\log4net-1.2.15>rem software distributed under the License is 
> distributed on an 
> E:\lib\log4net-1.2.15>rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
> ANY 
> E:\lib\log4net-1.2.15>rem KIND, either express or implied.  See the License 
> for the 
> E:\lib\log4net-1.2.15>rem specific language governing permissions and 
> limitations 
> E:\lib\log4net-1.2.15>rem under the License. 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> LOG4NET_DIR is E:\lib\log4net-1.2.15
> NANTEXE_PATH is E:\tools\nant-0.92\bin\nant.exe
> BUILD_FILE is E:\lib\log4net-1.2.15\log4net.build
> NAnt 0.92 (Build 0.92.4543.0; release; 2012-06-09)
> Copyright (C) 2001-2012 Gerry Shaw
> http://nant.sourceforge.net
> Buildfile: file:///E:/lib/log4net-1.2.15/log4net.build
> Target framework: Microsoft .NET Framework 4.0
> Target(s) specified: compile-all 
> check-current-build-config:
> set-build-configuration:
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> check-current-build-config:
> set-framework-configuration:
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-net-4.0-runtime-configuration:
> generate-assembly-description:
>[delete] Deleting file E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs.
>   [asminfo] Generated file 
> 'E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs'.
> compile-all:
>  [echo] Compiling all build configurations for all runtime configurations.
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> compile-build:
>  [echo] Compiling all framework versions for the debug build 
> configuration.
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-netcf-2.0-runtime-configuration:
>  [property] Target framework changed to "Microsoft .NET Compact Framework 
> 2.0".
> check-log4net-basedir:
> check-current-bin-dir:
> clean-current-bin-dir:
>  [echo] Cleaning the bin/netcf/2.0/debug binaries directory.
>[delete] Deleting directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> [mkdir] Creating directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> compile-netcf-2.0:
>   [csc] Compiling 225 files to 
> 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(36,20): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(48,39): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
> BUILD FAILED
> E:\lib\log4net-1.2.15\log4net.build(454,6):
> External Program Failed: 
> C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe (return code was 1)
> Total time: 1.2 seconds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LOG4NET-467) Is .NET Core, will be supported in the near future, or not

2016-11-29 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on LOG4NET-467:


Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
Many thanks @SeanSnyders . You are the first one actually given the 
binaries a try - or the first one who tells us so.

I've built the myget package using .NET Core 1.0.0 (SDK Preview 2), I 
really hope we don't need to provide assemblies built for different .NET Core 
1.x versions.

As for dependencies of the package, I didn't add any for the .NET Core 
version, maybe I should have. To be honest I'm far from an expert WRT .NET Core.

A preview build of the traditional distributions can be found in 
http://stefan.samaflost.de/staging/log4net-2.0.6/log4net-2.0.6-bin-newkey.zip - 
this contains the pdb file.


> Is .NET Core, will be supported in the near future, or not
> --
>
> Key: LOG4NET-467
> URL: https://issues.apache.org/jira/browse/LOG4NET-467
> Project: Log4net
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.2.13
>Reporter: san kan
>  Labels: features
> Fix For: 2.0.6
>
> Attachments: LOG4NET-467.patch
>
>
> As you know, ms is moving heavily toward .Net core:
> https://github.com/dotnet/core
> so, is there a road map for making a version that supports it?
> and i noticed that log4net, has not been updated for 2 years.
> so is it maintained, or being forgotten?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
Many thanks @SeanSnyders . You are the first one actually given the 
binaries a try - or the first one who tells us so.

I've built the myget package using .NET Core 1.0.0 (SDK Preview 2), I 
really hope we don't need to provide assemblies built for different .NET Core 
1.x versions.

As for dependencies of the package, I didn't add any for the .NET Core 
version, maybe I should have. To be honest I'm far from an expert WRT .NET Core.

A preview build of the traditional distributions can be found in 
http://stefan.samaflost.de/staging/log4net-2.0.6/log4net-2.0.6-bin-newkey.zip - 
this contains the pdb file.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (LOG4NET-467) Is .NET Core, will be supported in the near future, or not

2016-11-29 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on LOG4NET-467:


Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig I've downloaded[ your 2.0.6 version from myget 
](https://www.myget.org/feed/log4net-test/package/nuget/log4net )but get an 
exception thrown during init of my logger in a NetCoreApp 1.1.0 application 
targeting win10-x64.

Now, I'm a bit new to .Net Core, but my same code runs fine using latest 
2.0.5 on .Net 4.6.1.

Any chance of getting a `.pdb` of 2.0.6 so I can dig a bit deeper into 
where the exception occur with a sensible stack trace?

At a high level, I get these:

![image](https://cloud.githubusercontent.com/assets/1384135/20736496/d16db8a8-b70b-11e6-9926-242928f7f20e.png)

in my code on line 176  here:

![image](https://cloud.githubusercontent.com/assets/1384135/20736483/b6817fa2-b70b-11e6-9c00-cb9b179d99a1.png)

If I add the dependency of `System.Collections.NonGeneric 4.3.0` to my 
`project.json`, I still get an exception of:

![image](https://cloud.githubusercontent.com/assets/1384135/20736578/4d63a936-b70c-11e6-822b-f69e20e9a6b2.png)

Is the nuget package for 2.0.6 specifying all the dependencies? What am I 
missing here?






> Is .NET Core, will be supported in the near future, or not
> --
>
> Key: LOG4NET-467
> URL: https://issues.apache.org/jira/browse/LOG4NET-467
> Project: Log4net
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.2.13
>Reporter: san kan
>  Labels: features
> Fix For: 2.0.6
>
> Attachments: LOG4NET-467.patch
>
>
> As you know, ms is moving heavily toward .Net core:
> https://github.com/dotnet/core
> so, is there a road map for making a version that supports it?
> and i noticed that log4net, has not been updated for 2 years.
> so is it maintained, or being forgotten?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread SeanSnyders
Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig I've downloaded[ your 2.0.6 version from myget 
](https://www.myget.org/feed/log4net-test/package/nuget/log4net )but get an 
exception thrown during init of my logger in a NetCoreApp 1.1.0 application 
targeting win10-x64.

Now, I'm a bit new to .Net Core, but my same code runs fine using latest 
2.0.5 on .Net 4.6.1.

Any chance of getting a `.pdb` of 2.0.6 so I can dig a bit deeper into 
where the exception occur with a sensible stack trace?

At a high level, I get these:

![image](https://cloud.githubusercontent.com/assets/1384135/20736496/d16db8a8-b70b-11e6-9926-242928f7f20e.png)

in my code on line 176  here:

![image](https://cloud.githubusercontent.com/assets/1384135/20736483/b6817fa2-b70b-11e6-9c00-cb9b179d99a1.png)

If I add the dependency of `System.Collections.NonGeneric 4.3.0` to my 
`project.json`, I still get an exception of:

![image](https://cloud.githubusercontent.com/assets/1384135/20736578/4d63a936-b70c-11e6-822b-f69e20e9a6b2.png)

Is the nuget package for 2.0.6 specifying all the dependencies? What am I 
missing here?






---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (LOG4NET-536) Can't build for NETCF-2.0

2016-11-29 Thread luzht (JIRA)

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

luzht commented on LOG4NET-536:
---

I tried again,but it didn't work.Here is the error message:
ompile-netcf-2.0:
  [csc] Compiling 225 files to 
'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
  [csc] e:\lib\log4net-1.2.15\src\Appender\RollingFileAppender.cs(1152,24): 
error CS1501: The "Mutex" method does not use overloads of "2" arguments
  [csc] c:\Program 
Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\mscorlib.dll: (
The position of the symbol associated with the previous error)


In fact,I just want to use log4net for WinCE program(NETCF 2.0).

> Can't build for NETCF-2.0
> -
>
> Key: LOG4NET-536
> URL: https://issues.apache.org/jira/browse/LOG4NET-536
> Project: Log4net
>  Issue Type: Bug
>  Components: Builds
>Affects Versions: 1.2.15
> Environment: win7 x64
>Reporter: luzht
>Priority: Blocker
>  Labels: build-failure
> Fix For: 2.0.6
>
>
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Licensed to the Apache Software Foundation (ASF) 
> under one 
> E:\lib\log4net-1.2.15>rem or more contributor license agreements.  See the 
> NOTICE file 
> E:\lib\log4net-1.2.15>rem distributed with this work for additional 
> information 
> E:\lib\log4net-1.2.15>rem regarding copyright ownership.  The ASF licenses 
> this file 
> E:\lib\log4net-1.2.15>rem to you under the Apache License, Version 2.0 (the 
> E:\lib\log4net-1.2.15>rem "License"); you may not use this file except in 
> compliance 
> E:\lib\log4net-1.2.15>rem with the License.  You may obtain a copy of the 
> License at 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem   http://www.apache.org/licenses/LICENSE-2.0 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Unless required by applicable law or agreed to in 
> writing, 
> E:\lib\log4net-1.2.15>rem software distributed under the License is 
> distributed on an 
> E:\lib\log4net-1.2.15>rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
> ANY 
> E:\lib\log4net-1.2.15>rem KIND, either express or implied.  See the License 
> for the 
> E:\lib\log4net-1.2.15>rem specific language governing permissions and 
> limitations 
> E:\lib\log4net-1.2.15>rem under the License. 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> LOG4NET_DIR is E:\lib\log4net-1.2.15
> NANTEXE_PATH is E:\tools\nant-0.92\bin\nant.exe
> BUILD_FILE is E:\lib\log4net-1.2.15\log4net.build
> NAnt 0.92 (Build 0.92.4543.0; release; 2012-06-09)
> Copyright (C) 2001-2012 Gerry Shaw
> http://nant.sourceforge.net
> Buildfile: file:///E:/lib/log4net-1.2.15/log4net.build
> Target framework: Microsoft .NET Framework 4.0
> Target(s) specified: compile-all 
> check-current-build-config:
> set-build-configuration:
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> check-current-build-config:
> set-framework-configuration:
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-net-4.0-runtime-configuration:
> generate-assembly-description:
>[delete] Deleting file E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs.
>   [asminfo] Generated file 
> 'E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs'.
> compile-all:
>  [echo] Compiling all build configurations for all runtime configurations.
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> compile-build:
>  [echo] Compiling all framework versions for the debug build 
> configuration.
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-netcf-2.0-runtime-configuration:
>  [property] Target framework changed to "Microsoft .NET Compact Framework 
> 2.0".
> check-log4net-basedir:
> check-current-bin-dir:
> clean-current-bin-dir:
>  [echo] Cleaning the bin/netcf/2.0/debug binaries directory.
>[delete] Deleting directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> [mkdir] Creating directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> compile-netcf-2.0:
>   [csc] Compiling 225 files to 
> 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(36,20): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(48,39): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or 

[jira] [Commented] (LOG4NET-534) rollingfileappender: INTERNAL ERROR. Append is False but OutputFile already exists

2016-11-29 Thread Jay McCormick (JIRA)

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

Jay McCormick commented on LOG4NET-534:
---

Another thing.  I'm using IE11 and loading MyProgram.dll.  Is there a way to 
check file security permissions inherited from IE?  I bet that's the problem.

> rollingfileappender: INTERNAL ERROR. Append is False but OutputFile already 
> exists
> --
>
> Key: LOG4NET-534
> URL: https://issues.apache.org/jira/browse/LOG4NET-534
> Project: Log4net
>  Issue Type: Bug
>  Components: Appenders
>Affects Versions: 1.2.15
> Environment: Windows 10
>Reporter: Jay McCormick
>  Labels: newbie
>
> Have read about [LOG4NET-118] and [LOG4NET-485] but it looks like neither has 
> a resolution.  Existing log file is not being rolled, it is being overwritten 
> instead.
> Same code and config running on Windows 7, produces the error message in the 
> summary.  Not sure if UAC is a cause.  Log file is written into users 
> %LOCALAPPDATA%\TEMP directory.  I have read about some "internal" log4net 
> logging, but do not know how to activate that.
> The config:
> 
> 
> 
> 
>  type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
> 
> 
> 
>  type="log4net.Appender.RollingFileAppender">
>  value="%property{LogFileName}"/>
> 
> 
> 
> 
> 
>  value="%date{ISO8601}%property{messageId}%-5level%message%newline"/>
> 
> 
> 
> 
> 
> 
>  type="AsyncForwardingAppenderHotSwap">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> The AsyncBufferingAppender-HotSwap is borrowed from here:
> *   Copied from .NET low latency logging. Part 5 - Asynchronous log4net 
> solutions
> *   
> http://deep-depth.blogspot.com/2014/02/net-low-latency-logging-part-5.html
> (I also tried without the Asynchronous Appender as well)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (LOG4NET-534) rollingfileappender: INTERNAL ERROR. Append is False but OutputFile already exists

2016-11-29 Thread Jay McCormick (JIRA)

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

Jay McCormick commented on LOG4NET-534:
---

Thanks Dominik for pointing me to the setting for InternalDebug.  This most 
definitely pointed me in another direction.  I'm getting this exception:

016385.58250427 [8920] log4net: Output file 
[C:\Users\Jay\AppData\Local\TEMP\MyComputerName_MyProgramOne_Tuesday.log] 
already exists. Not appending to file. Rolling existing file out of the way.
  
016485.58420563 [8920] log4net: Moving 
[C:\Users\Jay\AppData\Local\TEMP\MyComputerName_MyProgramOne_Tuesday.log] -> 
[C:\Users\Jay\AppData\Local\TEMP\MyComputerName_MyProgramOne_Tuesday.log.1] 

016585.58536530 [8920] log4net:ERROR [RollingFileAppender] 
ErrorCode: GenericFailure. Exception while rolling file 
[C:\Users\Jay\AppData\Local\TEMP\MyComputerName_MyProgramOne_Tuesday.log] -> 
[C:\Users\Jay\AppData\Local\TEMP\MyComputerName_MyProgramOne_Tuesday.log.1] 
016685.58871460 [8920] System.UnauthorizedAccessException: 
Access to the path is denied.
016785.58871460 [8920]at System.IO.__Error.WinIOError(Int32 
errorCode, String maybeFullPath)
016885.58871460 [8920]at System.IO.__Error.WinIOError() 
016985.58871460 [8920]at System.IO.File.InternalMove(String 
sourceFileName, String destFileName, Boolean checkHost) 
017085.58871460 [8920]at 
log4net.Appender.RollingFileAppender.RollFile(String fromFile, String toFile)   
   
017185.59036255 [8920] log4net:ERROR RollingFileAppender: 
INTERNAL ERROR. Append is False but OutputFile 
[C:\Users\Jay\AppData\Local\TEMP\MyComputerName_MyProgramOne_Tuesday.log] 
already exists.  

This seems similar to LOG4NET-506 which in turn points to LOG4NET-487.  I also 
visited LOG4NET-118.  I see code, but don't see a new test dll.  I also 'get' 
the exception is saying 'no access' to move, but there is access to overwrite 
the existing file?  That I don't understand.  I figured it might have something 
to do with permissions.  I'm a local admin on this Win10 machine.  Checking 
Security Properties for the directory and file says Full Access.

Not sure what to do next.  Will Bing the exception for hints.



> rollingfileappender: INTERNAL ERROR. Append is False but OutputFile already 
> exists
> --
>
> Key: LOG4NET-534
> URL: https://issues.apache.org/jira/browse/LOG4NET-534
> Project: Log4net
>  Issue Type: Bug
>  Components: Appenders
>Affects Versions: 1.2.15
> Environment: Windows 10
>Reporter: Jay McCormick
>  Labels: newbie
>
> Have read about [LOG4NET-118] and [LOG4NET-485] but it looks like neither has 
> a resolution.  Existing log file is not being rolled, it is being overwritten 
> instead.
> Same code and config running on Windows 7, produces the error message in the 
> summary.  Not sure if UAC is a cause.  Log file is written into users 
> %LOCALAPPDATA%\TEMP directory.  I have read about some "internal" log4net 
> logging, but do not know how to activate that.
> The config:
> 
> 
> 
> 
>  type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
> 
> 
> 
>  type="log4net.Appender.RollingFileAppender">
>  value="%property{LogFileName}"/>
> 
> 
> 
> 
> 
>  value="%date{ISO8601}%property{messageId}%-5level%message%newline"/>
> 
> 
> 
> 
> 
> 
>  type="AsyncForwardingAppenderHotSwap">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> The AsyncBufferingAppender-HotSwap is borrowed from here:
> *   Copied from .NET low latency logging. Part 5 - Asynchronous log4net 
> solutions
> *   
> http://deep-depth.blogspot.com/2014/02/net-low-latency-logging-part-5.html
> (I also tried without the Asynchronous Appender as well)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (LOG4NET-536) Can't build for NETCF-2.0

2016-11-29 Thread Stefan Bodewig (JIRA)

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

Stefan Bodewig reassigned LOG4NET-536:
--

Assignee: Stefan Bodewig

I won't promise anything as I haven't access to NETCF anymore, but it should be 
possible to conditionally exclude that functionality.

We'll likely need a few roundtrips between me making changes and you testing 
them before compilation goes through, so it would be good if you could test the 
current svn trunk in order to see whether we've introduced any additional code 
that cannot build on NETCF.

> Can't build for NETCF-2.0
> -
>
> Key: LOG4NET-536
> URL: https://issues.apache.org/jira/browse/LOG4NET-536
> Project: Log4net
>  Issue Type: Bug
>  Components: Builds
>Affects Versions: 1.2.15
> Environment: win7 x64
>Reporter: luzht
>Assignee: Stefan Bodewig
>Priority: Blocker
>  Labels: build-failure
>
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Licensed to the Apache Software Foundation (ASF) 
> under one 
> E:\lib\log4net-1.2.15>rem or more contributor license agreements.  See the 
> NOTICE file 
> E:\lib\log4net-1.2.15>rem distributed with this work for additional 
> information 
> E:\lib\log4net-1.2.15>rem regarding copyright ownership.  The ASF licenses 
> this file 
> E:\lib\log4net-1.2.15>rem to you under the Apache License, Version 2.0 (the 
> E:\lib\log4net-1.2.15>rem "License"); you may not use this file except in 
> compliance 
> E:\lib\log4net-1.2.15>rem with the License.  You may obtain a copy of the 
> License at 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem   http://www.apache.org/licenses/LICENSE-2.0 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Unless required by applicable law or agreed to in 
> writing, 
> E:\lib\log4net-1.2.15>rem software distributed under the License is 
> distributed on an 
> E:\lib\log4net-1.2.15>rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
> ANY 
> E:\lib\log4net-1.2.15>rem KIND, either express or implied.  See the License 
> for the 
> E:\lib\log4net-1.2.15>rem specific language governing permissions and 
> limitations 
> E:\lib\log4net-1.2.15>rem under the License. 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> LOG4NET_DIR is E:\lib\log4net-1.2.15
> NANTEXE_PATH is E:\tools\nant-0.92\bin\nant.exe
> BUILD_FILE is E:\lib\log4net-1.2.15\log4net.build
> NAnt 0.92 (Build 0.92.4543.0; release; 2012-06-09)
> Copyright (C) 2001-2012 Gerry Shaw
> http://nant.sourceforge.net
> Buildfile: file:///E:/lib/log4net-1.2.15/log4net.build
> Target framework: Microsoft .NET Framework 4.0
> Target(s) specified: compile-all 
> check-current-build-config:
> set-build-configuration:
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> check-current-build-config:
> set-framework-configuration:
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-net-4.0-runtime-configuration:
> generate-assembly-description:
>[delete] Deleting file E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs.
>   [asminfo] Generated file 
> 'E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs'.
> compile-all:
>  [echo] Compiling all build configurations for all runtime configurations.
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> compile-build:
>  [echo] Compiling all framework versions for the debug build 
> configuration.
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-netcf-2.0-runtime-configuration:
>  [property] Target framework changed to "Microsoft .NET Compact Framework 
> 2.0".
> check-log4net-basedir:
> check-current-bin-dir:
> clean-current-bin-dir:
>  [echo] Cleaning the bin/netcf/2.0/debug binaries directory.
>[delete] Deleting directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> [mkdir] Creating directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> compile-netcf-2.0:
>   [csc] Compiling 225 files to 
> 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(36,20): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
>   [csc] 
> e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(48,39): error 
> CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether 
> a using directive or an assembly reference is missing?)
> BUILD FAILED
> E:\lib\log4net-1.2.15\log4net.build(454,6):
> External Program Failed: 
> 

[jira] [Created] (LOG4NET-536) Can't build for NETCF-2.0

2016-11-29 Thread luzht (JIRA)
luzht created LOG4NET-536:
-

 Summary: Can't build for NETCF-2.0
 Key: LOG4NET-536
 URL: https://issues.apache.org/jira/browse/LOG4NET-536
 Project: Log4net
  Issue Type: Bug
  Components: Builds
Affects Versions: 1.2.15
 Environment: win7 x64
Reporter: luzht
Priority: Blocker



E:\lib\log4net-1.2.15>rem

E:\lib\log4net-1.2.15>rem

E:\lib\log4net-1.2.15>rem Licensed to the Apache Software Foundation (ASF) 
under one 

E:\lib\log4net-1.2.15>rem or more contributor license agreements.  See the 
NOTICE file 

E:\lib\log4net-1.2.15>rem distributed with this work for additional information 

E:\lib\log4net-1.2.15>rem regarding copyright ownership.  The ASF licenses this 
file 

E:\lib\log4net-1.2.15>rem to you under the Apache License, Version 2.0 (the 

E:\lib\log4net-1.2.15>rem "License"); you may not use this file except in 
compliance 

E:\lib\log4net-1.2.15>rem with the License.  You may obtain a copy of the 
License at 

E:\lib\log4net-1.2.15>rem

E:\lib\log4net-1.2.15>rem   http://www.apache.org/licenses/LICENSE-2.0 

E:\lib\log4net-1.2.15>rem

E:\lib\log4net-1.2.15>rem Unless required by applicable law or agreed to in 
writing, 

E:\lib\log4net-1.2.15>rem software distributed under the License is distributed 
on an 

E:\lib\log4net-1.2.15>rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY 

E:\lib\log4net-1.2.15>rem KIND, either express or implied.  See the License for 
the 

E:\lib\log4net-1.2.15>rem specific language governing permissions and 
limitations 

E:\lib\log4net-1.2.15>rem under the License. 

E:\lib\log4net-1.2.15>rem

E:\lib\log4net-1.2.15>rem
LOG4NET_DIR is E:\lib\log4net-1.2.15
NANTEXE_PATH is E:\tools\nant-0.92\bin\nant.exe
BUILD_FILE is E:\lib\log4net-1.2.15\log4net.build
NAnt 0.92 (Build 0.92.4543.0; release; 2012-06-09)
Copyright (C) 2001-2012 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///E:/lib/log4net-1.2.15/log4net.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: compile-all 


check-current-build-config:


set-build-configuration:


set-debug-build-configuration:


check-current-build-config:


set-build-configuration-flags:


check-current-build-config:


set-framework-configuration:


check-bin-dir:


check-doc-dir:


check-sdkdoc-dir:


check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-net-4.0-runtime-configuration:


generate-assembly-description:

   [delete] Deleting file E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs.
  [asminfo] Generated file 'E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs'.

compile-all:

 [echo] Compiling all build configurations for all runtime configurations.

set-debug-build-configuration:


check-current-build-config:


set-build-configuration-flags:


compile-build:

 [echo] Compiling all framework versions for the debug build configuration.

check-bin-dir:


check-doc-dir:


check-sdkdoc-dir:


check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-netcf-2.0-runtime-configuration:

 [property] Target framework changed to "Microsoft .NET Compact Framework 2.0".

check-log4net-basedir:


check-current-bin-dir:


clean-current-bin-dir:

 [echo] Cleaning the bin/netcf/2.0/debug binaries directory.
   [delete] Deleting directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
[mkdir] Creating directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.

compile-netcf-2.0:

  [csc] Compiling 225 files to 
'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
  [csc] 
e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(36,20): error 
CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether a 
using directive or an assembly reference is missing?)
  [csc] 
e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(48,39): error 
CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether a 
using directive or an assembly reference is missing?)

BUILD FAILED

E:\lib\log4net-1.2.15\log4net.build(454,6):
External Program Failed: C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe 
(return code was 1)

Total time: 1.2 seconds.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)