|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 | 4 | <Description>A Serilog sink that writes log events to the debug output window.</Description>
|
5 |
| - <VersionPrefix>1.0.1</VersionPrefix> |
| 5 | + <VersionPrefix>2.0.0</VersionPrefix> |
6 | 6 | <Authors>Serilog Contributors</Authors>
|
7 |
| - <TargetFrameworks>net45;net46;netstandard1.0;netstandard2.0</TargetFrameworks> |
| 7 | + <TargetFrameworks>net45;net46;netstandard1.0;netstandard2.0;netstandard2.1</TargetFrameworks> |
8 | 8 | <AssemblyName>Serilog.Sinks.Debug</AssemblyName>
|
9 | 9 | <AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
|
10 | 10 | <SignAssembly>true</SignAssembly>
|
11 | 11 | <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
|
12 | 12 | <PackageId>Serilog.Sinks.Debug</PackageId>
|
13 | 13 | <PackageTags>serilog;debug</PackageTags>
|
14 |
| - <PackageIconUrl>http://serilog.net/images/serilog-sink-nuget.png</PackageIconUrl> |
15 | 14 | <PackageProjectUrl>https://github.com/serilog/serilog-sinks-debug</PackageProjectUrl>
|
16 |
| - <PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl> |
17 |
| - <GenerateAssemblyVersionAttribute>true</GenerateAssemblyVersionAttribute> |
18 |
| - <GenerateAssemblyFileVersionAttribute>true</GenerateAssemblyFileVersionAttribute> |
| 15 | + <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
| 16 | + <PackageIcon>icon.png</PackageIcon> |
| 17 | + <RepositoryUrl>https://github.com/serilog/serilog-sinks-debug</RepositoryUrl> |
| 18 | + <RepositoryType>git</RepositoryType> |
19 | 19 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
20 | 20 | <!-- Don't reference the full NETStandard.Library -->
|
21 |
| - <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> |
| 21 | + <DisableImplicitFrameworkReferences Condition=" '$(TargetFramework)' == 'netstandard1.0' ">true</DisableImplicitFrameworkReferences> |
22 | 22 | <TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
23 |
| - <TreatSpecificWarningsAsErrors /> |
24 | 23 | <RootNamespace>Serilog</RootNamespace>
|
25 | 24 | </PropertyGroup>
|
26 | 25 |
|
|
30 | 29 | </PropertyGroup>
|
31 | 30 |
|
32 | 31 | <ItemGroup>
|
33 |
| - <PackageReference Include="Serilog" Version="2.5.0" /> |
34 |
| - <PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" /> |
| 32 | + <PackageReference Include="Serilog" Version="2.10.0" /> |
35 | 33 | </ItemGroup>
|
36 | 34 |
|
37 |
| - <PropertyGroup Condition=" '$(TargetFramework)' == 'net45' "> |
38 |
| - <DefineConstants>$(DefineConstants);DEBUG_WRITE</DefineConstants> |
39 |
| - </PropertyGroup> |
40 |
| - |
41 |
| - <PropertyGroup Condition=" '$(TargetFramework)' == 'net46' "> |
42 |
| - <DefineConstants>$(DefineConstants);DEBUG_WRITE</DefineConstants> |
43 |
| - </PropertyGroup> |
| 35 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' "> |
| 36 | + <PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" /> |
| 37 | + </ItemGroup> |
44 | 38 |
|
45 |
| - <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 39 | + <PropertyGroup Condition=" '$(TargetFramework)' != 'netstandard1.0' "> |
46 | 40 | <DefineConstants>$(DefineConstants);DEBUG_WRITE</DefineConstants>
|
47 | 41 | </PropertyGroup>
|
| 42 | + |
| 43 | + <ItemGroup> |
| 44 | + <None Include="..\..\assets\icon.png" Pack="true" Visible="false" PackagePath="" /> |
| 45 | + </ItemGroup> |
48 | 46 |
|
49 | 47 | </Project>
|
0 commit comments