Skip to content
Merged
Changes from all commits
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
10 changes: 9 additions & 1 deletion build-tools/automation/azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resources:
- repository: maui
type: github
name: dotnet/maui
ref: refs/heads/net8.0
ref: refs/heads/net9.0
endpoint: xamarin

parameters:
Expand Down Expand Up @@ -406,6 +406,14 @@ stages:
displayName: Create MAUI template
continueOnError: false

- powershell: |
$project = '$(Build.StagingDirectory)/MauiTestProj/MauiTestProj.csproj'
[xml] $xml = Get-Content $project
$node = $xml.SelectSingleNode('/Project/PropertyGroup/TargetFrameworks')
$node.InnerText = '$(DotNetTargetFramework)-android'
$xml.Save($project)
displayName: set TargetFrameworks to Android-only

- template: yaml-templates/run-dotnet-preview.yaml
parameters:
project: $(Build.StagingDirectory)/MauiTestProj/MauiTestProj.csproj
Expand Down