How to use conditionals in desktop target that evaluating client runns on windows? #20753
-
Hey there! The problem on this is, I seem to only have the decision between:
So option 1 is resulting in a warning of Target incompartiblity when I then use that Library in another maybe Uno.sdk desktop target SkiaRendering Project (I dont really want the WinAppSDK to use just for that windows to be satisfyed...) the Do someone has some trick that I could use to keep using desktop target, but workaround this Moniker problem when not using the uno.sdk management? Maybe a Uno.Core Nuget which would allow to get some Attributes defined there, that would solve that? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
As for the dependencies you see in nuget, those will not be present in the resulting package or assembly. |
Beta Was this translation helpful? Give feedback.
OperatingSystem.IsWindows()
should be the right check, is there anything missing with it?