|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFrameworks>net461;net472;netstandard2.0</TargetFrameworks> |
| 4 | + <TargetFrameworks>net461;net472;netstandard2.0;net5.0</TargetFrameworks> |
5 | 5 | <PlatformTarget>anycpu</PlatformTarget> |
6 | 6 | <GenerateDocumentationFile>true</GenerateDocumentationFile> |
7 | 7 | <OutputType>Library</OutputType> |
|
38 | 38 |
|
39 | 39 | <ItemGroup> |
40 | 40 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> |
41 | | - <PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="1.3.6" /> |
| 41 | + <PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.1.2" /> |
42 | 42 | <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" /> |
43 | 43 | <PackageReference Include="System.Buffers" Version="4.5.1" /> |
44 | 44 | </ItemGroup> |
45 | | - |
46 | | - <ItemGroup Condition=" !$(TargetFramework.StartsWith('netstandard')) "> |
47 | | - <Reference Include="System" /> |
| 45 | + |
| 46 | + <ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) "> |
48 | 47 | <Reference Include="Microsoft.CSharp" /> |
| 48 | + <Reference Include="System" /> |
49 | 49 | </ItemGroup> |
50 | 50 |
|
51 | 51 | <ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) "> |
52 | 52 | <PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> |
53 | 53 | </ItemGroup> |
54 | 54 |
|
55 | | - <PropertyGroup Condition=" !$(TargetFramework.StartsWith('netstandard')) "> |
56 | | - <DefineConstants>$(DefineConstants);NETFULL</DefineConstants> |
57 | | - </PropertyGroup> |
58 | | - |
59 | | - <PropertyGroup Condition=" $(TargetFramework.StartsWith('netstandard')) "> |
60 | | - <DefineConstants>$(DefineConstants);NETSTANDARD</DefineConstants> |
61 | | - </PropertyGroup> |
62 | | - |
63 | 55 | <PropertyGroup Condition="'$(Configuration)' == 'Release' "> |
64 | 56 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
65 | 57 | </PropertyGroup> |
|
0 commit comments