Fix linux platform detection

This commit is contained in:
Sven Boemer 2023-04-15 01:01:43 +00:00
parent 5efd180bb7
commit c9aba005be

View file

@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
@ -226,7 +226,7 @@
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipPortableLinux.xml"</TestArgs>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsLinux)' == 'true' ">
<PropertyGroup Condition=" $([MSBuild]::IsOSPlatform('LINUX')) ">
<!-- Add list of tests to skip on Linux Portable -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipLinux.xml"</TestArgs>
</PropertyGroup>