Skip to content

Conversation

asklar
Copy link
Member

@asklar asklar commented Sep 28, 2021

Fixes consumption of webview2 nuget package so winui can be used in xaml islands apps
Fixes #5793

Description

Set the new flag we added for WV2 to reference/copy the WV2 winmd file.

Motivation and Context

This is necessary in xaml islands apps since WV2 otherwise relies on the app type being UAP, and also because WinUI's winmd now references the WV2 winmd, so this is necessary even if the xaml islands app does not use webview2.

How Has This Been Tested?

Locally validated adding the property to microsoft.ui.xaml.targets does the trick

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Sep 28, 2021
@ranjeshj ranjeshj requested a review from jevansaks September 28, 2021 20:05
@asklar asklar changed the title Update MUXControls-Nuget-Common.targets Fix usage of WinUI 2.7+ in xaml islands C++ apps Sep 28, 2021
@ranjeshj
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ranjeshj ranjeshj added area-WebView team-Controls Issue for the Controls team area-NugetPackage Issue with the nuget package developer experience (e.g. build error, missing files) needs-cherrypicktorelease PR tagged for cherry-pick to the current release branch (but not yet picked) and removed needs-triage Issue needs to be triaged by the area owners labels Sep 28, 2021
@ranjeshj ranjeshj merged commit c8c76f0 into microsoft:main Sep 28, 2021
@asklar asklar deleted the webview2rt branch November 25, 2021 05:09
@ghost
Copy link

ghost commented Jul 13, 2022

🎉Microsoft.UI.Xaml v2.8.0-prerelease.220712001 has been released which incorporates this pull request.:tada:

Handy links:

@ghost
Copy link

ghost commented Jul 18, 2022

🎉Microsoft.UI.Xaml v2.8.0 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-NugetPackage Issue with the nuget package developer experience (e.g. build error, missing files) area-WebView needs-cherrypicktorelease PR tagged for cherry-pick to the current release branch (but not yet picked) team-Controls Issue for the Controls team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't build any xaml islands app with 2.7.0-prerelease.210827001

3 participants