-
Notifications
You must be signed in to change notification settings - Fork 54
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
Full support for Uno Platform #28
Comments
@michael-hawker If you have any comments or ideas related to multitargeting the remaining possible Uno targets, I'm all ears. Current setup only supports WinUI 2 under WASM if someone were to try using packages from Labs. |
Note: recent work was done to support this, but a bug is present where the
|
@Arlodotexe is this an Uno bug then that we should file on their repo? |
This is a lingering bug in the sample project system itself that I'll fix when closing this issue. |
Having talked to Jerome about Uno and where things are going. It seems our best bet is to still support two packages. I think it still makes sense to have our namespaces unified across the packages in order to facilitate easier updating and sharing of XAML between all platforms, otherwise that adds more complexity. Therefore we should unify on the Then each experiment would have code-shared set of projects one for The UWP library would target UWP and Uno with WinUI 2. This lets us support all the platforms with code that unifies on the namespace and allows for sharing of our XAML code as much as possible. This also means anyone working on UWP or WinUI 3 with Uno can just include the one package everywhere and be able to utilize it. It still does leave us with a documentation problem though around having to explain which packages to use for UWP vs. WinUI 3. I think the main concern is even though technically possible now to have a single package target UWP and WinUI 3, it may not stay that way, and all the dependencies in the ecosystem have already moved to having separate packages anyway. That makes the dependency tree a bit complex already. |
Writing down notes from our latest sync now that this is being looked at. We agreed until the general naming schema issue is resolved here, we'll still plan to use @Arlodotexe is also investigating if we can use a similar PowerShell switch to our target framework solution to switch between ProposalWe'll end up with a single head in the experiment named The CI will generate two packages:
ChallengesI imagine this complicates the 'All' solution as the multi-targeted UWP/WinUI3/WASM assembly can't work across all projects heads. I would suggest that for #73 we probably have a toggle vs. trying to duplicate all the heads and have everything work for both at the same time, otherwise we'd have to figure out how to generate two separate packages automatically which we know with MSBuild would be difficult. Seems like the run a script and pick approach is going to continue to work best here. TO DO
@Arlodotexe I think that's the main breakdown, sound good? Anything I miss or any concerns? |
Is this really closed? |
The bulk of this work is done, we do have some auxiliary tracking items for remaining issues. |
Background
To keep things as easy as possible for our users, we want the Labs (and eventually, the Toolkit) to support:
The problem
We're already multi-targeting between these 3 things. However, "Uno" isn't a standalone target framework, but rather a polyfill for WinUI and WinRT on many possible other platforms.
We're currently supporting Uno exclusively on WinUI 2 under WASM. This means any WinUI 2 projects using the toolkit won't need separate packages for Uno under their WASM head.
However, using Uno on WASM under WinUI 3 is not supported, as well as WinUI 2 on Android, WPF, iOS, MacOS, etc.
The solution
We need to investigate and add support for
The text was updated successfully, but these errors were encountered: