Skip to content

Conversation

@Arlodotexe
Copy link
Member

This PR:

Copy link
Member Author

@Arlodotexe Arlodotexe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened as a draft. We're seeing linker issues when compiling release mode. Tested against the main repo by running this command:

.\tooling\Build-Toolkit-Gallery.ps1 -Head wasm -MultiTargets wasm -Components All -WinUIMajorVersion 2 -Release

We see this error message with no additional details:

C:\Users\arlog\.nuget\packages\uno.wasm.bootstrap\7.0.29\build\Uno.Wasm.Bootstrap.targets(206,3): error : System.Exception: Failed to exe 
       cute the linker [C:\Users\arlog\source\repos\Windows\tooling\ProjectHeads\AllComponents\wasm\CommunityToolkit.App.Wasm.csproj]

This error is also showing in the CI.

@Arlodotexe Arlodotexe marked this pull request as ready for review May 21, 2024 15:31
@Arlodotexe Arlodotexe requested a review from michael-hawker May 21, 2024 15:32
@Arlodotexe
Copy link
Member Author

Thanks @jeromelaban for the help!

For reference, the issue was that the Uno.Wasm.Bootstrap package version doesn't align with Uno.UI/Uno.WinUI/etc. via our CommonUnoPackageVersion property and had to be updated separately. We'll need to keep this in mind for future updates. Unfortunately, we can't make use of the Uno SDK to keep things in step because it doesn't support UWP.

We should be able to close this off and include the changes in the 8.1 update.

@Arlodotexe Arlodotexe enabled auto-merge (rebase) May 21, 2024 22:44
michael-hawker
michael-hawker previously approved these changes May 30, 2024
auto-merge was automatically disabled May 30, 2024 18:42

Rebase failed

@michael-hawker
Copy link
Member

May want to look at the 422 equivalent as there's an Android error there:

error NETSDK1181: Error getting pack version: Pack 'Microsoft.Android.Ref.33' was not present in workload manifests. [C:\a\Windows\Windows\components\Triggers\samples\Triggers.Samples.csproj::TargetFramework=net8.0-android33.0]

@michael-hawker michael-hawker dismissed their stale review May 30, 2024 18:46

Build error in linked 422

@jeromelaban
Copy link
Contributor

May want to look at the 422 equivalent as there's an Android error there:

This generally happens when the TargetPlatformVersion is 33 instead of 34 (which net8 targets).

@Arlodotexe
Copy link
Member Author

Thanks Jerome, I'll give that a try. Found additional information on this error message here.

@Arlodotexe Arlodotexe enabled auto-merge (rebase) May 30, 2024 19:55
auto-merge was automatically disabled June 4, 2024 21:28

Rebase failed

@michael-hawker michael-hawker merged commit e366657 into main Jun 4, 2024
@delete-merged-branch delete-merged-branch bot deleted the uno/net8 branch June 4, 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

Status: Done

Development

Successfully merging this pull request may close these issues.

Update Uno Platform library TFMs to net8.0

3 participants