Skip to content

Enable Microsoft.AI.MachineLearning NuGet with WinUI projects#16415

Merged
smk2007 merged 1 commit intomainfrom
user/sheilk/fix-winml-on-winui
Jun 20, 2023
Merged

Enable Microsoft.AI.MachineLearning NuGet with WinUI projects#16415
smk2007 merged 1 commit intomainfrom
user/sheilk/fix-winml-on-winui

Conversation

@smk2007
Copy link
Member

@smk2007 smk2007 commented Jun 19, 2023

Microsoft.AI.MachineLearning NuGet fails to build on WinUI projects due to the conflict between the ReferenceCopy of binaries that occurs with managed applications, with the manual binplacement that occurs with native appliactions.

With WinUI, both cases are triggered, and a duplicate binplace is detected as an error.

Fix: Don't rely on the ReferenceCopy for WinUI applications, and manually binplace the Microsoft.AI.MachineLearning dll.

@smk2007 smk2007 merged commit 7b51a1b into main Jun 20, 2023
@smk2007 smk2007 deleted the user/sheilk/fix-winml-on-winui branch June 20, 2023 20:10
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.

3 participants