mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add .NET 5 as build target
This commit is contained in:
@@ -2,18 +2,18 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net48;netcoreapp3.1</TargetFrameworks>
|
<TargetFrameworks>net48;netcoreapp3.1;net5.0</TargetFrameworks>
|
||||||
<RuntimeIdentifiers>win10-x64;win7-x86</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win10-x64;win7-x86</RuntimeIdentifiers>
|
||||||
<Configurations>Debug;Release</Configurations>
|
<Configurations>Debug;Release</Configurations>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)'!='netcoreapp3.1'">
|
<PropertyGroup Condition="'$(TargetFramework)'=='net48'">
|
||||||
<DefineConstants>NET_FRAMEWORK</DefineConstants>
|
<DefineConstants>NET_FRAMEWORK</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.6" />
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="5.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net48;netcoreapp3.1</TargetFrameworks>
|
<TargetFrameworks>net48;netcoreapp3.1;net5.0</TargetFrameworks>
|
||||||
<RuntimeIdentifiers>win10-x64;win7-x86</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win10-x64;win7-x86</RuntimeIdentifiers>
|
||||||
<Configurations>Debug;Release</Configurations>
|
<Configurations>Debug;Release</Configurations>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)'!='netcoreapp3.1'">
|
<PropertyGroup Condition="'$(TargetFramework)'=='net48'">
|
||||||
<DefineConstants>NET_FRAMEWORK</DefineConstants>
|
<DefineConstants>NET_FRAMEWORK</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.6" />
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="5.0.0" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
||||||
<PackageReference Include="SharpCompress" Version="0.26.0" />
|
<PackageReference Include="SharpCompress" Version="0.26.0" />
|
||||||
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
|
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net48;netcoreapp3.1</TargetFrameworks>
|
<TargetFrameworks>net48;netcoreapp3.1;net5.0</TargetFrameworks>
|
||||||
<RuntimeIdentifiers>win10-x64;win7-x86</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win10-x64;win7-x86</RuntimeIdentifiers>
|
||||||
<Configurations>Debug;Release</Configurations>
|
<Configurations>Debug;Release</Configurations>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)'!='netcoreapp3.1'">
|
<PropertyGroup Condition="'$(TargetFramework)'=='net48'">
|
||||||
<DefineConstants>NET_FRAMEWORK</DefineConstants>
|
<DefineConstants>NET_FRAMEWORK</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user