Open ctaggart opened 7 years ago
This code works fine without issue in Visual Studio 2015, so let's dig. I just noticed this:
Severity Code Description Project File Line Suppression State
Warning MSB3243 No way to resolve conflict between "System.Interactive.Async, Version=3.0.3000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263" and "System.Interactive.Async, Version=3.0.1000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263". Choosing "System.Interactive.Async, Version=3.0.3000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263" arbitrarily. testlog4net G:\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 1909
Severity Code Description Project File Line Suppression State
Warning MSB3243 No way to resolve conflict between "System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Choosing "System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. testlog4net G:\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 1909
That assembly redirect errors appear to be not needed. A testlog4net.exe.config is built automatically in the output directory and has both entries.
Program.cs
log4net.xml
testlog4net.csproj