File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 4
4
<Description >Write Serilog events to text files in plain or JSON format.</Description >
5
5
<VersionPrefix >4.0.1</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 >
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" Version =" 4.1.0" />
67
+ <PackageReference Include =" System.IO.FileSystem" Version =" 4.0.1" />
68
+ <PackageReference Include =" System.IO.FileSystem.Primitives" Version =" 4.0.1" />
69
+ <PackageReference Include =" System.Text.Encoding.Extensions" Version =" 4.0.11" />
70
+ <PackageReference Include =" System.Threading.Timer" Version =" 4.0.1" />
71
+ </ItemGroup >
61
72
</Project >
You can’t perform that action at this time.
0 commit comments