Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable MTP #37001

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert
  • Loading branch information
Youssef1313 committed Jan 30, 2025
commit 805b38b3fdbebbd3f67a21fe51947a4465dc82b7
3 changes: 0 additions & 3 deletions .pipelines/v2/templates/job-build-project.yml
Original file line number Diff line number Diff line change
@@ -146,19 +146,16 @@ jobs:
parameters:
sdk: true
version: '6.0'
platform: $(BuildPlatform)

- template: steps-ensure-dotnet-version.yml
parameters:
sdk: true
version: '8.0'
platform: $(BuildPlatform)

- template: steps-ensure-dotnet-version.yml
parameters:
sdk: true
version: '9.0'
platform: $(BuildPlatform)

- ${{ if eq(parameters.runTests, true) }}:
- task: VisualStudioTestPlatformInstaller@1
2 changes: 1 addition & 1 deletion .pipelines/v2/templates/steps-ensure-dotnet-version.yml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ steps:
exit 1
}
$NEW_DOTNET_ROOT = "$(Agent.ToolsDirectory)\dotnet"
& ./dotnet-install.ps1 -Channel "${{parameters.version}}" -Architecture ${{parameters.platform}} -InstallDir $NEW_DOTNET_ROOT
& ./dotnet-install.ps1 -Channel "${{parameters.version}}" -InstallDir $NEW_DOTNET_ROOT
Write-Host "##vso[task.setvariable variable=DOTNET_ROOT]${NEW_DOTNET_ROOT}"
Write-Host "##vso[task.prependpath]${NEW_DOTNET_ROOT}"
Remove-Item dotnet-install.ps1 -ErrorAction:Ignore