misc: fix tests on linux

This commit is contained in:
genteure 2023-08-24 23:56:50 +08:00
parent 00f0d58505
commit 3f150e30bd

View File

@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net4.8;net6.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net4.8;net6.0</TargetFrameworks>
<TargetFramework Condition=" '$(OS)' != 'Windows_NT' ">net6.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>