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

"Building unpackaged app" tutorial should explain how to get XAML to work in unpackaged #3695

Closed
asklar opened this issue Mar 1, 2022 · 3 comments

Comments

@asklar
Copy link
Contributor

asklar commented Mar 1, 2022

The content only goes as far as calling the DD APIs, but doesn't provide an offramp to creating a GUI app


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@stevewhims
Copy link
Member

stevewhims commented Mar 10, 2022

Yes, as it's currently written this topic is focused solely on a console app. But a while ago I went through this topic except I created a WPF project instead, and that worked. I had to add <RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>, and I proved that WinAppSDK was being loaded ok, and that I could call some WinAppSDK APIs (not necessarily exactly the code in the tutorial, but something equally interesting, I think).

That was about a month ago and I keep planning to update this topic with that experiment when I get some time. So at the same time I'll see what I can do about providing the offramp you mention. Of course, the "GUI app" in question could be WPF or WinForms or Win32, but it wouldn't be a WinUI 3 app (since you wouldn't need to bootstrap that).

So I've back-logged that work for myself and I'll track it along with my existing workstreams. I'll go ahead and close this so that I'm not tracking it twice, and I'll come back here and update when I get around to doing the work.

Thanks!
-Steve

@asklar
Copy link
Contributor Author

asklar commented Mar 10, 2022

thanks @stevewhims ! Just to clarify, when building a winui3 unpackaged app, I expect that someone still needs to bootstrap the framework, as well as whatever manifest entries we need, CRT requirements, etc. I realize some of these are changing between 1.0 and future, but as of today we don't have a public sample that shows how to build a WinUI 3 unpackaged app.

@stevewhims
Copy link
Member

I see, good point! Ok, I'll investigate that scenario, too. :)

learn-build-service-prod bot pushed a commit that referenced this issue Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants