Completely rewritten the main project file. Added support for multiple target frameworks
This commit is contained in:
parent
2543dd0feb
commit
f5b1c7d6b8
@ -1,15 +1,14 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<Import Project="..\..\nuget.props" />
|
<Import Project="..\..\nuget.props" />
|
||||||
|
|
||||||
<ItemGroup>
|
<PropertyGroup>
|
||||||
|
<TargetFrameworks>netstandard2.0; netstandard2.1; netcoreapp3.1; net48;</TargetFrameworks>
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="$(TargetFramework) == 'netstandard2.0' OR $(TargetFramework) == 'net48'">
|
||||||
<PackageReference Include="System.Buffers" Version="$(SystemBuffers)" />
|
<PackageReference Include="System.Buffers" Version="$(SystemBuffers)" />
|
||||||
<PackageReference Include="System.IO" Version="$(SystemIO)" />
|
|
||||||
<PackageReference Include="System.Memory" Version="$(SystemMemory)" />
|
<PackageReference Include="System.Memory" Version="$(SystemMemory)" />
|
||||||
<PackageReference Include="System.Threading.Tasks.Extensions" Version="$(SystemTasks)" />
|
<PackageReference Include="System.Threading.Tasks.Extensions" Version="$(SystemTasks)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user