Skip to content

Unable to run performance tests against SDK version that is earlier than in global.json #4355

Open
@caaavik-msft

Description

@caaavik-msft

We get the version of the SDK to use for our MAUI scenarios runs using https://maui.blob.core.windows.net/metadata/sdks/net9.0.json.
At the time of this issue, the SDK version that this JSON reports is 9.0.100-preview.5.24304.3 but the version of the SDK that we have in our global.json is 9.0.100-preview.5.24307.3. Because this version is earlier, when we install the MAUI SDK locally with the dotnet install script, it gets ignored. This surfaces in our build pipeline when we try to extract the "Base Path" from the output of dotnet --info, but that information is missing from the command output. An example failure can be seen here: link

I am not sure what the right solution here is, whether it is just that whenever we get a PR from maestro to change the SDK version that we need to wait for the MAUI version to be updated first, or if there is a safer long term solution that means we don't need to worry about checking for that.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions