|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks> |
| 4 | + <TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks> |
5 | 5 | <DebugType Condition=" '$(Configuration)' == 'Debug' ">Full</DebugType> |
6 | 6 |
|
7 | 7 | <Product>NLog.Extensions.Hosting v$(ProductVersion)</Product> |
@@ -42,13 +42,39 @@ For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore |
42 | 42 | <IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable> |
43 | 43 | <IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible> |
44 | 44 | </PropertyGroup> |
| 45 | + |
| 46 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'net462' "> |
| 47 | + <Title>NLog.Extensions.Hosting for .NET Framework 4.6.2</Title> |
| 48 | + <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> |
| 49 | + </PropertyGroup> |
| 50 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 51 | + <Title>NLog.Extensions.Hosting for .NET Standard 2.0</Title> |
| 52 | + </PropertyGroup> |
| 53 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' "> |
| 54 | + <Title>NLog.Extensions.Hosting for .NET Standard 2.1</Title> |
| 55 | + </PropertyGroup> |
| 56 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' "> |
| 57 | + <Title>NLog.Extensions.Hosting for .NET 6</Title> |
| 58 | + </PropertyGroup> |
| 59 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0' "> |
| 60 | + <Title>NLog.Extensions.Hosting for .NET 8</Title> |
| 61 | + </PropertyGroup> |
| 62 | + <PropertyGroup> |
| 63 | + <AssemblyTitle>$(Title)</AssemblyTitle> |
| 64 | + </PropertyGroup> |
| 65 | + |
| 66 | + <ItemGroup Condition=" '$(TargetFramework)' == 'net462' "> |
| 67 | + <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" /> |
| 68 | + <PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" /> |
| 69 | + <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" /> |
| 70 | + </ItemGroup> |
45 | 71 |
|
46 | 72 | <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
47 | 73 | <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="2.1.0" /> |
48 | 74 | </ItemGroup> |
49 | 75 |
|
50 | 76 | <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' "> |
51 | | - <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.0" /> |
| 77 | + <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" /> |
52 | 78 | </ItemGroup> |
53 | 79 |
|
54 | 80 | <ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' "> |
|
0 commit comments