|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
| 2 | + <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))"> |
| 3 | + <TargetFramework>net461</TargetFramework> |
| 4 | + </PropertyGroup> |
| 5 | + <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Linux'))"> |
| 6 | + <TargetFramework>netcoreapp2.0</TargetFramework> |
| 7 | + <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> |
| 8 | + </PropertyGroup> |
3 | 9 | <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('OSX')) AND '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'Arm64'"> |
4 | | - <TargetFrameworks>net6;</TargetFrameworks> |
| 10 | + <TargetFramework>net6</TargetFramework> |
5 | 11 | </PropertyGroup> |
6 | | - <PropertyGroup Condition="!$([MSBuild]::IsOsPlatform('OSX'))"> |
7 | | - <TargetFrameworks>netcoreapp2.0;net461;</TargetFrameworks> |
| 12 | + <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('OSX')) AND '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'x64'"> |
| 13 | + <TargetFramework>netcoreapp2.0</TargetFramework> |
| 14 | + <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> |
8 | 15 | </PropertyGroup> |
9 | 16 | <PropertyGroup> |
10 | 17 | <Nullable>enable</Nullable> |
|
18 | 25 | <ItemGroup> |
19 | 26 | <PackageReference Include="FluentAssertions" Version="6.12.0" /> |
20 | 27 | <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" /> |
21 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" /> |
| 28 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.3" /> |
22 | 29 | <PackageReference Include="xunit" Version="2.7.0" /> |
23 | | - <PackageReference Include="coverlet.collector" Version="6.0.2"> |
24 | | - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 30 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1"> |
25 | 31 | <PrivateAssets>all</PrivateAssets> |
| 32 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
26 | 33 | </PackageReference> |
27 | | - </ItemGroup> |
28 | | - |
29 | | - <ItemGroup> |
30 | 34 | <ProjectReference Include="..\dotMap\dotMap.csproj" OutputItemType="Analyzer" /> |
31 | 35 | </ItemGroup> |
| 36 | + <ItemGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))"> |
| 37 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"> |
| 38 | + <PrivateAssets>all</PrivateAssets> |
| 39 | + <IncludeAssets>runtime; build; native; contentfiles</IncludeAssets> |
| 40 | + </PackageReference> |
| 41 | + </ItemGroup> |
32 | 42 | </Project> |
0 commit comments