|
1 |
| -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 | 4 | <Description>Write Serilog events to text files in plain or JSON format.</Description>
|
5 |
| - <VersionPrefix>4.0.1</VersionPrefix> |
| 5 | + <VersionPrefix>4.1.0</VersionPrefix> |
6 | 6 | <Authors>Serilog Contributors</Authors>
|
7 |
| - <TargetFrameworks>net45;netstandard1.3</TargetFrameworks> |
| 7 | + <TargetFrameworks>net45;netstandard1.3;netstandard2.0</TargetFrameworks> |
8 | 8 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
9 | 9 | <AssemblyName>Serilog.Sinks.File</AssemblyName>
|
10 | 10 | <AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
|
|
30 | 30 | </PropertyGroup>
|
31 | 31 |
|
32 | 32 | <ItemGroup>
|
33 |
| - <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All"/> |
| 33 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" /> |
34 | 34 | <PackageReference Include="Serilog" Version="2.5.0" />
|
35 | 35 | </ItemGroup>
|
36 | 36 |
|
|
48 | 48 | <DefineConstants>$(DefineConstants);OS_MUTEX</DefineConstants>
|
49 | 49 | </PropertyGroup>
|
50 | 50 |
|
| 51 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 52 | + <DefineConstants>$(DefineConstants);OS_MUTEX</DefineConstants> |
| 53 | + </PropertyGroup> |
| 54 | + |
51 | 55 | <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
|
52 | 56 | <PackageReference Include="System.IO" Version="4.1.0" />
|
53 | 57 | <PackageReference Include="System.IO.FileSystem" Version="4.0.1" />
|
|
58 | 62 | <PackageReference Include="System.Runtime.InteropServices" Version="4.1.0" />
|
59 | 63 | </ItemGroup>
|
60 | 64 |
|
| 65 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> |
| 66 | + <PackageReference Include="System.IO.FileSystem" Version="4.0.1" /> |
| 67 | + <PackageReference Include="System.Text.Encoding.Extensions" Version="4.0.11" /> |
| 68 | + <PackageReference Include="System.Threading.Timer" Version="4.0.1" /> |
| 69 | + </ItemGroup> |
61 | 70 | </Project>
|
0 commit comments