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

🔥 FIX - fix unit tests #1694

Merged
merged 17 commits into from
Feb 14, 2024
Merged

🔥 FIX - fix unit tests #1694

merged 17 commits into from
Feb 14, 2024

Conversation

pictos
Copy link
Member

@pictos pictos commented Feb 13, 2024

Match versions of Microsoft.Maui.Controls and Microsoft.Maui.Controls.Compatibility

Fixes #1693

@pictos pictos enabled auto-merge (squash) February 13, 2024 21:13
@brminnick
Copy link
Collaborator

@JoonghyunCho Could you help us bump Tizen to support the latest version of .NET / MAUI?

@pictos
Copy link
Member Author

pictos commented Feb 13, 2024

@JoonghyunCho from our logs

Id: Samsung.NET.Sdk.Tizen.Manifest-8.0.200
An exception was caught: Response status code does not indicate success: 404 (The specified blob does not exist.).

Hope that helps to track the error

@JoonghyunCho
Copy link
Member

Didn't expect to use .NET 8.0.200 for MAUI 8.0.6. Installing Tizen Workload step is passed properly.

@brminnick
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

brminnick
brminnick previously approved these changes Feb 14, 2024
brminnick
brminnick previously approved these changes Feb 14, 2024
brminnick
brminnick previously approved these changes Feb 14, 2024
@brminnick
Copy link
Collaborator

brminnick commented Feb 14, 2024

The problem is not in our code; it builds fine locally on my machine.

The problem is that the pipeline is installing an old version of .NET MAUI:

Manifest Version: 8.0.0-rc.1.9171/8.0.100-rc.1

Screenshot 2024-02-15 at 12 38 25 AM

I cannot think of a reason why this is happening, other than there's a problem with the workload manifests being advertised for .NET 8.0.200.

That being said, on my local machine, when I run dotnet workload install maui, the correct latest version of .NET MAUI is installed. I'm unable to reproduce the problem in the build pipeline locally.

@StevilKnevil
Copy link
Contributor

I've checked out and built this locally. I was able to reproduce the issue. I modified Directory.Build.props to have <MauiPackageVersion>8.0.6</MauiPackageVersion> and that seemed to resolve the issue for me

@VladislavAntonyuk
Copy link
Collaborator

Could you please also update System.Speech nuget package to the stable version in CommunityToolkit.Maui.Core

@brminnick
Copy link
Collaborator

The problem is not in our code; it builds fine locally on my machine.

The problem is that the pipeline is installing an old version of .NET MAUI:

Manifest Version: 8.0.0-rc.1.9171/8.0.100-rc.1

Screenshot 2024-02-15 at 12 38 25 AM I cannot think of a reason why this is happening, other than there's a problem with the workload manifests being advertised for .NET 8.0.200.

That being said, on my local machine, when I run dotnet workload install maui, the correct latest version of .NET MAUI is installed. I'm unable to reproduce the problem in the build pipeline locally.

Ok -I figured out a work-around: We can first install maui using the roll-back file; this forces the workload manifest to update. Then, when we call dotnet workload install maui, it installs the latest version of .NET MAUI.

dotnet workload install maui --from-rollback-file $(DotNetMauiRollbackFile) --source https://api.nuget.org/v3/index.json
dotnet workload install maui

@pictos pictos merged commit de4eecc into main Feb 14, 2024
7 checks passed
@pictos pictos deleted the pj/fix-unit-test branch February 14, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Visual studio Build Error on 17.8.7
5 participants