Minor changes to support .NET8 building

This commit is contained in:
cinder
2024-01-15 14:34:29 -06:00
parent 33aaec1baf
commit 9d0522feaf
21 changed files with 27 additions and 27 deletions

View File

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

View File

@@ -5,7 +5,7 @@
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<OutputType>Exe</OutputType>
<OutputPath>..\..\..\bin\</OutputPath>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Platforms>x64;x86</Platforms>
<IsPackable>false</IsPackable>
</PropertyGroup>

View File

@@ -5,7 +5,7 @@
<OutputType>Exe</OutputType>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<OutputPath>..\..\..\bin\</OutputPath>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.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>net48;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0;net7.0;net8.0</TargetFrameworks>
<Platforms>x64;x86</Platforms>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>