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

Improved error message when consuming from Uno projects with mismatched TFMs #186

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

Arlodotexe
Copy link
Member

Closes #185

This PR introduces a small packaging workaround that improves the error message when consuming the Toolkit from a project that needs to update the Windows version in their WinAppSDK TFM.

Originally posted in #185 (comment)

One of the possible changes to avoid error messages of this kind is to add lib/net7.0-windows10.0.18362 and lib/net8.0-windows10.0.18362 folder with a _._ file in most uno-referencing packages. This would prevent transitive dependencies to go to the wrong TargetFramework. It won't allow for the build to work, but it would not be that much misleading.

@Arlodotexe Arlodotexe merged commit bf45e14 into main Apr 11, 2024
8 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/8.1/rc1/error-message-mismatched-tfms branch April 11, 2024 20:38
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.

Xaml Internal Error WMC9999 on when updating to v8.1-rc
2 participants