LOG4NET-480 tests don't work when using the not really supported VS2008 build - patch due to NN
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/a4427aa7 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/a4427aa7 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/a4427aa7 Branch: refs/heads/log4net-1.3.x Commit: a4427aa715a0e453d91d016f632270d639abc042 Parents: dd45791 Author: Stefan Bodewig <bode...@apache.org> Authored: Sun Oct 25 12:01:23 2015 +0000 Committer: Stefan Bodewig <bode...@apache.org> Committed: Sun Oct 25 12:01:23 2015 +0000 ---------------------------------------------------------------------- src/log4net.Tests/log4net.Tests.vs2008.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/a4427aa7/src/log4net.Tests/log4net.Tests.vs2008.csproj ---------------------------------------------------------------------- diff --git a/src/log4net.Tests/log4net.Tests.vs2008.csproj b/src/log4net.Tests/log4net.Tests.vs2008.csproj index 5492c24..8d9c682 100644 --- a/src/log4net.Tests/log4net.Tests.vs2008.csproj +++ b/src/log4net.Tests/log4net.Tests.vs2008.csproj @@ -57,7 +57,7 @@ <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> <ConfigurationOverrideFile> </ConfigurationOverrideFile> - <DefineConstants>TRACE;DEBUG</DefineConstants> + <DefineConstants>TRACE;DEBUG;DOTNET;FRAMEWORK_3_5_OR_ABOVE</DefineConstants> <DocumentationFile> </DocumentationFile> <DebugSymbols>true</DebugSymbols> @@ -77,7 +77,7 @@ <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> <ConfigurationOverrideFile> </ConfigurationOverrideFile> - <DefineConstants>TRACE</DefineConstants> + <DefineConstants>TRACE;DOTNET;FRAMEWORK_3_5_OR_ABOVE</DefineConstants> <DocumentationFile> </DocumentationFile> <DebugSymbols>true</DebugSymbols>