-
Notifications
You must be signed in to change notification settings - Fork 70
Uno Specific Preprocessor Directives don't work #191
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
Comments
I've never used |
@Arlodotexe I can confirm that the place I'm using it in Labs-Windows/labs/SizerBase/src/Toolkit/FrameworkElementExtensions.Mouse.cs Lines 80 to 83 in 2cd42b2
This is only working on UWP currently as written due to the |
Perhaps something just isn't implemented fully on Uno's side for WASM? This might help => https://platform.uno/docs/articles/features/cursors.html |
It is working, I think their document is out-of-date. I have validated already that the |
@michael-hawker We can always add it back using our Labs.Wasm.props file. |
The |
I've also confirmed that these aren't always working as intended. I've got a solution that will fix these for us and make them work as expected, even in multitargeted libraries. |
Uh oh!
There was an error while loading. Please reload this page.
Related to #174 maybe as we should update Uno version first.
Effects Experiment: #101
According to Uno docs here around platform specific C# code. We should be able to use the following values:
NETFX_CORE
__ANDROID__
__IOS__
HAS_UNO_WASM
__MACOS__
HAS_UNO_SKIA
I know we've been able to use a general
HAS_UNO
one (which is not listed in the doc?) and we define our ownWINAPPSDK
one. I also know theNETFX_CORE
one works.However trying to use
__WASM__
orHAS_UNO_WASM
is not working.This makes the logic needed to guard against the Uno
NotImplemented
error in the CI and having the code actually work in WASM for SizerBase not work properly.We need to understand what's going on here so we can properly guard code against specific platforms (if needed).
See Uno file here for reference as well.
The text was updated successfully, but these errors were encountered: