Skip to content

Commit 6ef01c5

Browse files
Merge pull request #43 from NLog/update-nlog
Update NLog to latest
2 parents 304f6d4 + 4254e65 commit 6ef01c5

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

NLog.Windows.Forms.Tests/NLog.Windows.Forms.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
<AssemblyOriginatorKeyFile>NLog.snk</AssemblyOriginatorKeyFile>
2222
</PropertyGroup>
2323
<ItemGroup>
24-
<PackageReference Include="NLog" Version="4.0.1" />
2524
<PackageReference Include="xunit" Version="2.1.0" />
2625
<PackageReference Include="xunit.abstractions" Version="2.0.0" />
2726
<PackageReference Include="xunit.assert" Version="2.1.0" />

NLog.Windows.Forms/MessageBoxTarget.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ protected override void Write(LogEventInfo logEvent)
8686
/// <param name="logEvents">The array of logging events.</param>
8787
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1300:SpecifyMessageBoxOptions",
8888
Justification = "This is just debugging output.")]
89+
[Obsolete("Instead override Write(IList<AsyncLogEventInfo> logEvents. Marked obsolete on NLog 4.5")]
8990
protected override void Write(AsyncLogEventInfo[] logEvents)
9091
{
9192
if (logEvents.Length == 0)

NLog.Windows.Forms/NLog.Windows.Forms.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<FileVersion>4.0.0.0</FileVersion>
3737
</PropertyGroup>
3838
<ItemGroup>
39-
<PackageReference Include="NLog" Version="4.0.0" />
39+
<PackageReference Include="NLog" Version="4.6.5" />
4040
</ItemGroup>
4141
<ItemGroup>
4242
<Reference Include="System.Windows.Forms" />

TestApplication/TestApplication.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net45</TargetFramework>
55
<AssemblyTitle>TestApplication</AssemblyTitle>
66
<Product>TestApplication</Product>
7-
<Copyright>Copyright © 2015</Copyright>
7+
<Copyright>Copyright © 2015-2019</Copyright>
88
<OutputPath>bin\$(Configuration)\</OutputPath>
99
</PropertyGroup>
1010
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -14,8 +14,7 @@
1414
<DebugType>pdbonly</DebugType>
1515
</PropertyGroup>
1616
<ItemGroup>
17-
<PackageReference Include="NLog" Version="4.0.0" />
18-
<PackageReference Include="NLog.Schema" Version="4.0.1" />
17+
<PackageReference Include="NLog.Schema" Version="4.6.5" />
1918
</ItemGroup>
2019
<ItemGroup>
2120
<Reference Include="System.Data.DataSetExtensions" />

0 commit comments

Comments
 (0)