summaryrefslogtreecommitdiff
path: root/mkvtool-gui/mkvtool.csproj
diff options
context:
space:
mode:
authorac79b0c6 <[email protected]>2022-05-08 10:21:04 +0800
committerac79b0c6 <[email protected]>2022-05-08 10:21:04 +0800
commit9a7dd2ee81c0ee3ca5ba049d85188f66c30a81ef (patch)
tree439deb2dce945b1d00dcaa61a6da3c50c3232dfb /mkvtool-gui/mkvtool.csproj
parent091dfc6c66fde06638399d5e4c93bf64dc6dbdf3 (diff)
update sdk
Diffstat (limited to 'mkvtool-gui/mkvtool.csproj')
-rw-r--r--mkvtool-gui/mkvtool.csproj14
1 files changed, 4 insertions, 10 deletions
diff --git a/mkvtool-gui/mkvtool.csproj b/mkvtool-gui/mkvtool.csproj
index bf95164..e0f7638 100644
--- a/mkvtool-gui/mkvtool.csproj
+++ b/mkvtool-gui/mkvtool.csproj
@@ -1,20 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
- <TargetFramework>net5.0</TargetFramework>
+ <TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
- <IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</IsWindows>
- <IsOSX Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsOSX>
- <IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
</PropertyGroup>
- <PropertyGroup Condition="'$(IsWindows)'=='true'">
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>Windows</DefineConstants>
</PropertyGroup>
- <PropertyGroup Condition="'$(IsOSX)'=='true'">
- <DefineConstants>OSX</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(IsLinux)'=='true'">
- <DefineConstants>Linux</DefineConstants>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
+ <DefineConstants>Windows</DefineConstants>
</PropertyGroup>
<ItemGroup>
<None Remove=".gitignore" />