[ 
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: 
> 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)

Reply via email to