File tree Expand file tree Collapse file tree 17 files changed +18
-30
lines changed Expand file tree Collapse file tree 17 files changed +18
-30
lines changed Original file line number Diff line number Diff line change @@ -34,18 +34,14 @@ jobs:
3434
3535 # Test solution #
3636
37- # Run .NET 8 unit tests
37+ # Run .NET 8 unit tests
3838 - script : dotnet test --no-build -c $(Build.Configuration) -f net8.0 -l "trx;LogFileName=VSTestResults_net8.0.trx"
3939 displayName : Run .NET 8 unit tests
4040
4141 # Run .NET 7 unit tests
4242 - script : dotnet test --no-build -c $(Build.Configuration) -f net7.0 -l "trx;LogFileName=VSTestResults_net7.0.trx"
4343 displayName : Run .NET 7 unit tests
4444
45- # Run .NET 6 unit tests
46- - script : dotnet test --no-build -c $(Build.Configuration) -f net6.0 -l "trx;LogFileName=VSTestResults_net6.0.trx"
47- displayName : Run .NET 6 unit tests
48-
4945 # Run .NET Framework 4.7.2 unit tests
5046 - script : dotnet test --no-build -c $(Build.Configuration) -f net472 -l "trx;LogFileName=VSTestResults_net472.trx"
5147 displayName : Run .NET Framework 4.7.2 unit tests
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netstandard2.0;netstandard2.1;net6.0; net8.0</TargetFrameworks >
4+ <TargetFrameworks >netstandard2.0;netstandard2.1;net8.0</TargetFrameworks >
55 </PropertyGroup >
66
77 <PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netstandard2.0;netstandard2.1;net6.0; net8.0</TargetFrameworks >
4+ <TargetFrameworks >netstandard2.0;netstandard2.1;net8.0</TargetFrameworks >
55 </PropertyGroup >
66
77 <PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netstandard2.0;netstandard2.1;net6.0; net7.0;net8.0</TargetFrameworks >
4+ <TargetFrameworks >netstandard2.0;netstandard2.1;net7.0;net8.0</TargetFrameworks >
55 </PropertyGroup >
66
77 <PropertyGroup >
Original file line number Diff line number Diff line change 1616 <!--
1717 Configuration for the feature switches (to support IL trimming).
1818 See the 'ILLink.Substitutions.xml' file for more details on that.
19- We only include these on .NET 6 and above (no .xml file otherwise).
19+ We only include these on .NET 8 and above (no .xml file otherwise).
2020 -->
21- <ItemGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6 .0'))" >
21+ <ItemGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8 .0'))" >
2222
2323 <!-- MVVMTOOLKIT_ENABLE_INOTIFYPROPERTYCHANGING_SUPPORT switch -->
2424 <RuntimeHostConfigurationOption Include =" MVVMTOOLKIT_ENABLE_INOTIFYPROPERTYCHANGING_SUPPORT"
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netstandard2.0;netstandard2.1;net6.0; net8.0;net8.0-windows10.0.17763.0</TargetFrameworks >
4+ <TargetFrameworks >netstandard2.0;netstandard2.1;net8.0;net8.0-windows10.0.17763.0</TargetFrameworks >
55 </PropertyGroup >
66
77 <!--
5555 </ItemGroup >
5656
5757 <!-- Include the ILLink file (to properly trim configuration switches in publish builds) -->
58- <ItemGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6 .0'))" >
58+ <ItemGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8 .0'))" >
5959 <EmbeddedResource Include =" Properties\ILLink.Substitutions.xml" LogicalName =" ILLink.Substitutions.xml" />
6060 </ItemGroup >
6161
Original file line number Diff line number Diff line change 77 <DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
88 </PropertyGroup >
99
10- <!-- Configure trimming for projects on .NET 6 and above -->
11- <PropertyGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))" >
12- <IsTrimmable >true</IsTrimmable >
13- <EnableTrimAnalyzer >true</EnableTrimAnalyzer >
14- <EnableAotAnalyzer >true</EnableAotAnalyzer >
15- <EnableSingleFileAnalyzer >true</EnableSingleFileAnalyzer >
16- </PropertyGroup >
17-
1810 <!-- Set the AOT property directly on .NET 8 and above -->
1911 <PropertyGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" >
2012 <IsAotCompatible >true</IsAotCompatible >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net472;net6.0; net7.0;net8.0</TargetFrameworks >
4+ <TargetFrameworks >net472;net7.0;net8.0</TargetFrameworks >
55 </PropertyGroup >
66
77 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net472;net6.0; net7.0;net8.0</TargetFrameworks >
4+ <TargetFrameworks >net472;net7.0;net8.0</TargetFrameworks >
55 </PropertyGroup >
66
77 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net472;net6.0; net7.0;net8.0</TargetFrameworks >
4+ <TargetFrameworks >net472;net7.0;net8.0</TargetFrameworks >
55 <EnablePreviewFeatures >true</EnablePreviewFeatures >
66 <NoWarn >$(NoWarn);CA2252</NoWarn >
77 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments