diff options
Diffstat (limited to 'mkvtool-gui/mkvtool.csproj')
| -rw-r--r-- | mkvtool-gui/mkvtool.csproj | 14 |
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" /> |
