|
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | 4 | <Description>A Serilog sink that writes log events to the debug output window.</Description> |
5 | | - <VersionPrefix>2.0.1</VersionPrefix> |
| 5 | + <VersionPrefix>3.0.0</VersionPrefix> |
6 | 6 | <Authors>Serilog Contributors</Authors> |
7 | | - <TargetFrameworks>net45;net46;netstandard1.0;netstandard2.0;netstandard2.1</TargetFrameworks> |
| 7 | + <!-- .NET Framework version targeting is frozen at these two TFMs. --> |
| 8 | + <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT'">net471;net462</TargetFrameworks> |
| 9 | + <!-- Policy is to trim TFM-specific builds to `netstandard2.0`, `net6.0`, |
| 10 | + all active LTS versions, and optionally the latest RTM version, when releasing new |
| 11 | + major Serilog versions. --> |
| 12 | + <TargetFrameworks>$(TargetFrameworks);net8.0;net6.0;netstandard2.0</TargetFrameworks> |
8 | 13 | <AssemblyName>Serilog.Sinks.Debug</AssemblyName> |
9 | 14 | <AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile> |
10 | 15 | <SignAssembly>true</SignAssembly> |
|
14 | 19 | <PackageProjectUrl>https://github.com/serilog/serilog-sinks-debug</PackageProjectUrl> |
15 | 20 | <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
16 | 21 | <PackageIcon>icon.png</PackageIcon> |
17 | | - <RepositoryUrl>https://github.com/serilog/serilog-sinks-debug</RepositoryUrl> |
18 | | - <RepositoryType>git</RepositoryType> |
| 22 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 23 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 24 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 25 | + <IncludeSymbols>true</IncludeSymbols> |
| 26 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
19 | 27 | <GenerateDocumentationFile>true</GenerateDocumentationFile> |
20 | | - <!-- Don't reference the full NETStandard.Library --> |
21 | | - <DisableImplicitFrameworkReferences Condition=" '$(TargetFramework)' == 'netstandard1.0' ">true</DisableImplicitFrameworkReferences> |
22 | 28 | <TreatWarningsAsErrors>True</TreatWarningsAsErrors> |
23 | 29 | <RootNamespace>Serilog</RootNamespace> |
24 | 30 | </PropertyGroup> |
|
29 | 35 | </PropertyGroup> |
30 | 36 |
|
31 | 37 | <ItemGroup> |
32 | | - <PackageReference Include="Serilog" Version="2.10.0" /> |
| 38 | + <PackageReference Include="Serilog" Version="4.0.0" /> |
33 | 39 | </ItemGroup> |
34 | 40 |
|
35 | | - <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' "> |
36 | | - <PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" /> |
37 | | - </ItemGroup> |
38 | | - |
39 | | - <PropertyGroup Condition=" '$(TargetFramework)' != 'netstandard1.0' "> |
40 | | - <DefineConstants>$(DefineConstants);DEBUG_WRITE</DefineConstants> |
41 | | - </PropertyGroup> |
42 | | - |
43 | 41 | <ItemGroup> |
44 | 42 | <None Include="..\..\assets\icon.png" Pack="true" Visible="false" PackagePath="" /> |
| 43 | + <None Include="../../README.md" Pack="true" Visible="false" PackagePath="/" /> |
45 | 44 | </ItemGroup> |
46 | 45 |
|
47 | 46 | </Project> |
0 commit comments