File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
eng/pipelines/common/templates/steps
src/Microsoft.Data.SqlClient/add-ons Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,18 @@ steps:
30
30
secureFile : netfxKeypair.snk
31
31
retryCount : 5
32
32
33
+ - task : UseDotNet@2
34
+ displayName : ' Use .NET 9.x sdk'
35
+ inputs :
36
+ packageType : sdk
37
+ version : ' 9.x'
38
+
39
+ - task : UseDotNet@2
40
+ displayName : ' Install .NET 8.x runtime'
41
+ inputs :
42
+ packageType : runtime
43
+ version : ' 8.x'
44
+
33
45
- ${{ if eq(parameters.product, 'MDS') }} :
34
46
- task : MSBuild@1
35
47
displayName : ' BuildAllConfigurations using build.proj'
Original file line number Diff line number Diff line change 78
78
79
79
Write-Host "Artifacts fetched for testing"
80
80
Get-Location
81
- displayName: 'Prepare ${{ targetFramework }} Arifacts for Testing'
81
+ displayName: 'Prepare ${{ targetFramework }} Artifacts for Testing'
82
82
83
83
- ${{ if eq(parameters.product, 'AKV') }} :
84
84
- powershell : |
95
95
96
96
Write-Host "Artifacts fetched for testing"
97
97
Get-Location
98
- displayName: 'Prepare ${{ targetFramework }} Arifacts for Testing'
98
+ displayName: 'Prepare ${{ targetFramework }} Artifacts for Testing'
99
99
100
100
- powershell : |
101
101
$software = '${{parameters.softwareFolder}}'
Original file line number Diff line number Diff line change 17
17
<!-- These properties can be modified locally to target .NET version of choice to build and test entire test suite-->
18
18
<PropertyGroup >
19
19
<TargetNetFxVersion Condition =" '$(TargetNetFxVersion)' == ''" >net462</TargetNetFxVersion >
20
- <TargetNetCoreVersion Condition =" '$(TargetNetCoreVersion)' == ''" >net8.0</TargetNetCoreVersion >
20
+ <TargetNetCoreVersion Condition =" '$(TargetNetCoreVersion)' == ''" >net8.0;net9.0 </TargetNetCoreVersion >
21
21
</PropertyGroup >
22
22
23
23
<ItemGroup >
34
34
<!-- Set Target Framework when TestTargetOS is not empty. (Command Line) -->
35
35
<Otherwise >
36
36
<PropertyGroup >
37
- <TargetFrameworks Condition =" '$(TestTargetOS)' == 'Windowsnetcoreapp' OR '$(TestTargetOS)' == 'Unixnetcoreapp'" >net8.0</TargetFrameworks >
37
+ <TargetFrameworks Condition =" '$(TestTargetOS)' == 'Windowsnetcoreapp' OR '$(TestTargetOS)' == 'Unixnetcoreapp'" >net8.0;net9.0 </TargetFrameworks >
38
38
<TargetFrameworks Condition =" '$(TestTargetOS)' == 'Windowsnetfx'" >net462</TargetFrameworks >
39
39
</PropertyGroup >
40
40
</Otherwise >
You can’t perform that action at this time.
0 commit comments