-
Notifications
You must be signed in to change notification settings - Fork 834
fix: remove privateassets="all" from mauiembedding bits #20797
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
Conversation
|
@Mergifyio backport release/stable/6.0 |
✅ Backports have been createdDetails
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the PrivateAssets="all" attribute from the implicit Skia runtime package reference in MAUI embedding target files, allowing the package to flow transitively to consuming projects.
- Dropped
PrivateAssets="all"onUno.Extensions.Maui.WinUI.Runtime.Skiareferences - Applied the change to iOS, MacCatalyst, and Android target files
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.iOS.targets | Removed PrivateAssets="all" from the Skia runtime reference |
| src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.MacCatalyst.targets | Removed PrivateAssets="all" from the Skia runtime reference |
| src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.Android.targets | Removed PrivateAssets="all" from the Skia runtime reference |
Comments suppressed due to low confidence (3)
src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.iOS.targets:26
- [nitpick] Consider updating the project documentation or release notes to mention that the Skia runtime package is now transitively exposed to downstream projects after removing
PrivateAssets="all".
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Maui.WinUI.Runtime.Skia" ProjectSystem="true" />
src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.MacCatalyst.targets:26
- [nitpick] Consider updating the project documentation or release notes to mention that the Skia runtime package is now transitively exposed to downstream projects after removing
PrivateAssets="all".
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Maui.WinUI.Runtime.Skia" ProjectSystem="true" />
src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.Android.targets:39
- [nitpick] Consider updating the project documentation or release notes to mention that the Skia runtime package is now transitively exposed to downstream projects after removing
PrivateAssets="all".
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Maui.WinUI.Runtime.Skia" ProjectSystem="true" />
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20797/docs/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20797/wasm-skia-net9/index.html |
|
The build 168568 found UI Test snapshots differences: Details
|
…6.0/pr-20797 fix: remove privateassets="all" from mauiembedding bits (backport #20797)
Avoids error when using MAUI Embedding:
System.IO.FileNotFoundException: 'Could not load file or assembly 'Uno.Extensions.Maui.WinUI.Runtime.Skia, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null' or one of its dependencies.'