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

[ci] Update .NET version installed for MAUI tests #8995

Merged
merged 3 commits into from
May 31, 2024

Conversation

pjcollins
Copy link
Member

The MAUI integration job started failing recently seemingly due to some
of the arcade integration changes they are making:

C:\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24274.1\tools\RepositoryValidation.proj(33,5): error MSB4018: The "Microsoft.DotNet.Arcade.Sdk.GetLicenseFilePath" task failed unexpectedly.
C:\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24274.1\tools\RepositoryValidation.proj(33,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
C:\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24274.1\tools\RepositoryValidation.proj(33,5): error MSB4018: File name: 'System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Attempt to fix this by installing a .NET 9 preview that will be used to
run their build tasks that provision a local .NET install.

The installLegacyDotNet setup-test-environment parameter did not seem
to be in use anywhere and has also been removed.

The MAUI integration job started failing recently seemingly due to some
of the arcade integration changes they are making:

    C:\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24274.1\tools\RepositoryValidation.proj(33,5): error MSB4018: The "Microsoft.DotNet.Arcade.Sdk.GetLicenseFilePath" task failed unexpectedly.
    C:\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24274.1\tools\RepositoryValidation.proj(33,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
    C:\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24274.1\tools\RepositoryValidation.proj(33,5): error MSB4018: File name: 'System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Attempt to fix this by installing a .NET 9 preview that will be used to
run their build tasks that provision a local .NET install.

The `installLegacyDotNet` setup-test-environment parameter did not seem
to be in use anywhere and has also been removed.
@pjcollins pjcollins requested a review from jonpryor as a code owner May 30, 2024 15:52
@pjcollins pjcollins merged commit 17f8b79 into main May 31, 2024
46 of 48 checks passed
@pjcollins pjcollins deleted the dev/pjc/maui-net9-arcadefix branch May 31, 2024 14:31
grendello added a commit that referenced this pull request Jun 3, 2024
* main:
  [ci] Update .NET version installed for MAUI tests (#8995)
  [ci] Run "Push Internal" job on AzurePipelines-EO pool (#8991)
  [Xamarin.Android.Build.Tasks] LLVM Marshal Methods by Default, Take 2 (#8925)
  $(AndroidPackVersionSuffix)=preview.6; net9 is 34.99.0.preview.6 (#8989)
  [ci] Update path for generated `*.include.*` files (#8980)
  Bump to xamarin/xamarin-android-tools/main@da2c33e (#8984)
  Bump to xamarin/Java.Interop/main@f935001 (#8985)
  Bump to xamarin/monodroid@93ab95e18 (#8959)
  Force loc task pool image to windows (#8983)
  [git] Re-format `.gitmodules` (#8978)
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants