Uno.WindowsCommunityToolkit icon indicating copy to clipboard operation
Uno.WindowsCommunityToolkit copied to clipboard

How can I add UNO.CommunityToolkit.WinUI to the .NET 6 project?

Open LeftTwixWand opened this issue 3 years ago • 1 comments

Hi!

I'm writing an open source app, using WinUI 3 and now trying to run it on the other platforms through the UNO Platfrom. I've segregated the functionality on the different layers (class libraries). I'm referencing the CommunityToolkit.WinUI library from the library project with target framework net6.0-windows10.0.22000.0 Now I want to connect such project to the .NET6.0 Linux and MacOS app. It's impossible, because of framework differences. So I'm trying to add one more target framework - .NET 6 to the library. And the only one conflict, that I have - is CommunityToolkit.WinUI library.

Is it possible to solve it using UNO.CommunityToolkit.WinUI?

image

LeftTwixWand avatar Feb 25 '22 17:02 LeftTwixWand

The official Community Toolkit does not support net6.0 the target framework, but only net6.0-windows. The Uno version of the toolkit does not yet have net6.0-android, ios, macos and catalyst integrated, but will once .NET 6 Mobile gets out of previews.

jeromelaban avatar Feb 25 '22 18:02 jeromelaban