Updates for .NET7, drop netcoreapp3.1 support.

This commit is contained in:
cinder
2022-11-11 12:06:30 -06:00
parent e5e6103c89
commit 024c1daeb5
20 changed files with 40 additions and 41 deletions

View File

@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' ">
<TargetFrameworks>netcoreapp3.1;net5.0-windows;net6.0-windows</TargetFrameworks>
<TargetFrameworks>net6.0-windows;net7.0-windows</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">
<TargetFrameworks>netcoreapp3.1;net5.0-linux;net6.0-linux</TargetFrameworks>
<TargetFrameworks>net6.0-linux;net7.0-linux</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' ">
<TargetFrameworks>netcoreapp3.1;net5.0-macos;net6.0-macos</TargetFrameworks>
<TargetFrameworks>net6.0-macos;net7.0-macos</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<PackageId>GridAccountant</PackageId>

View File

@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>IrcGateway</AssemblyName>
<PackageId>IrcGateway</PackageId>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<OutputType>Exe</OutputType>
<OutputPath>..\..\..\bin\</OutputPath>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Platforms>x64;x86</Platforms>
<IsPackable>false</IsPackable>
</PropertyGroup>

View File

@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>PacketDump</AssemblyName>
<PackageId>PacketDump</PackageId>
<OutputType>Exe</OutputType>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<OutputPath>..\..\..\bin\</OutputPath>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Platforms>AnyCPU</Platforms>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

View File

@@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<OutputPath>..\..\..\bin\</OutputPath>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
<Platforms>x64;x86</Platforms>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>