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:
34
34
35
35
# Test solution #
36
36
37
- # Run .NET 8 unit tests
37
+ # Run .NET 8 unit tests
38
38
- script : dotnet test --no-build -c $(Build.Configuration) -f net8.0 -l "trx;LogFileName=VSTestResults_net8.0.trx"
39
39
displayName : Run .NET 8 unit tests
40
40
41
41
# Run .NET 7 unit tests
42
42
- script : dotnet test --no-build -c $(Build.Configuration) -f net7.0 -l "trx;LogFileName=VSTestResults_net7.0.trx"
43
43
displayName : Run .NET 7 unit tests
44
44
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
-
49
45
# Run .NET Framework 4.7.2 unit tests
50
46
- script : dotnet test --no-build -c $(Build.Configuration) -f net472 -l "trx;LogFileName=VSTestResults_net472.trx"
51
47
displayName : Run .NET Framework 4.7.2 unit tests
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2.0;netstandard2.1;net6.0; net8.0</TargetFrameworks >
4
+ <TargetFrameworks >netstandard2.0;netstandard2.1;net8.0</TargetFrameworks >
5
5
</PropertyGroup >
6
6
7
7
<PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2.0;netstandard2.1;net6.0; net8.0</TargetFrameworks >
4
+ <TargetFrameworks >netstandard2.0;netstandard2.1;net8.0</TargetFrameworks >
5
5
</PropertyGroup >
6
6
7
7
<PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<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 >
5
5
</PropertyGroup >
6
6
7
7
<PropertyGroup >
Original file line number Diff line number Diff line change 16
16
<!--
17
17
Configuration for the feature switches (to support IL trimming).
18
18
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).
20
20
-->
21
- <ItemGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6 .0'))" >
21
+ <ItemGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8 .0'))" >
22
22
23
23
<!-- MVVMTOOLKIT_ENABLE_INOTIFYPROPERTYCHANGING_SUPPORT switch -->
24
24
<RuntimeHostConfigurationOption Include =" MVVMTOOLKIT_ENABLE_INOTIFYPROPERTYCHANGING_SUPPORT"
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<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 >
5
5
</PropertyGroup >
6
6
7
7
<!--
55
55
</ItemGroup >
56
56
57
57
<!-- 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'))" >
59
59
<EmbeddedResource Include =" Properties\ILLink.Substitutions.xml" LogicalName =" ILLink.Substitutions.xml" />
60
60
</ItemGroup >
61
61
Original file line number Diff line number Diff line change 7
7
<DefineConstants >NETSTANDARD2_1_OR_GREATER</DefineConstants >
8
8
</PropertyGroup >
9
9
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
-
18
10
<!-- Set the AOT property directly on .NET 8 and above -->
19
11
<PropertyGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" >
20
12
<IsAotCompatible >true</IsAotCompatible >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net472;net6.0; net7.0;net8.0</TargetFrameworks >
4
+ <TargetFrameworks >net472;net7.0;net8.0</TargetFrameworks >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net472;net6.0; net7.0;net8.0</TargetFrameworks >
4
+ <TargetFrameworks >net472;net7.0;net8.0</TargetFrameworks >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net472;net6.0; net7.0;net8.0</TargetFrameworks >
4
+ <TargetFrameworks >net472;net7.0;net8.0</TargetFrameworks >
5
5
<EnablePreviewFeatures >true</EnablePreviewFeatures >
6
6
<NoWarn >$(NoWarn);CA2252</NoWarn >
7
7
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments