Skip to content
6 changes: 6 additions & 0 deletions eng/pipelines/coreclr/templates/build-perf-maui-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ steps:
# overwriteExistingFiles: true
# cleanDestinationFolder: false

# There is a global.json in the runtime repo, but it sets the version to 7.xxx preview. This creates a local global.json to allow the running of 6.0 version.
- script: |
echo '{ "sdk": { "version": "6.0.300", "rollForward": "latestFeature" }}' > ./global.json
displayName: Create global.json
workingDirectory: $(Build.SourcesDirectory)

# Get the current maui nuget config so all things can be found and darc based package sources are kept up to date.
- script: |
curl -o NuGet.config 'https://raw.githubusercontent.com/dotnet/maui/main/NuGet.config'
Expand Down