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

Working with WinUI 3 preview 3 #698

Closed
asklar opened this issue Jan 27, 2021 · 2 comments
Closed

Working with WinUI 3 preview 3 #698

asklar opened this issue Jan 27, 2021 · 2 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation
Milestone

Comments

@asklar
Copy link
Member

asklar commented Jan 27, 2021

Related to #693, #697

  • Created a C# NET 5 class library. Reference the WinUI 3 Preview 4 CI 1/26 nuget package.
  • Follow the authoring instructions to produce a nuget pkg for the class library
  • Created a cppwinrt WinUI 3 app from WinUI 3 Preview 3 VSIX
  • update cppwinrt app's WinUI reference to latest internal WinUI nuget preview 4 from 01/26
  • Referenced the NET 5 class library nupkg file from the cppwinrt app via a local nuget source
  • Build solution

After applying both workarounds:
The WAP project that the WinUI 3 vsix creates does not do anything (fails to deploy complaining about a missing appxrecipe file).

Using an internal prerelease Preview 4 VSIX makes the WAP project build so I'm just filing this to track the fact that cswinrt doesn't play well with WinUI 3 preview 3, but will likely work better against Preview 4 when it's out.

@AdamBraden
Copy link
Contributor

@angelazhangmsft - please include in relnotes

@AdamBraden AdamBraden added this to the Release 1.2.0 milestone Feb 18, 2021
@angelazhangmsft
Copy link
Contributor

Closing as the bugs mentioned were fixed. Documentation of authoring/WinUI 3 integration captured in #694

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants