dotnet build
toolchain?
MainScreen
with [NullAllowed]
would export it as NSScreen?
for C# 8?
is there something about CSS styling in the pipeline that works differently than XAML styling? i'm seeing a bug where a stylesheet isn't applied in some cases, but XAML is, and i'm not really sure how to break it down into a test case
if anyone's wondering, i eventually found the bug (or one of them?), and filed it at xamarin/Xamarin.Forms#10484
which brings me to my next question: is there a way to specify platform-specific CSS? basically, this:
<ContentPage.BackgroundColor>
<OnPlatform x:TypeArguments="Color">
<On Platform="macOS">Transparent</On>
<On Platform="iOS">White</On>
</OnPlatform>
</ContentPage.BackgroundColor>
e.g., something like
^contentpage[on-platform=macOS] {
background-color: transparent;
}
BGTask
but since it is abstract we can't
Hi.
Does anybody know how to set up a Xamarin Forms app to run on macOS 10.9?
contentViewController
shows, that's a new API starting in 10.10. my guess is XF doesn't depend on it too much, so you can probably make a fork and possibly a PR to make it compatible to work without contentViewController
, but my money is on it isn't worth it — Xamarin Forms on macOS is in preview, supporting it isn't a high priority, and supporting rather old macOS at this point definitely isn't a priority
That's too bad. I hope the XF team will at least acknowledge this and state the minimum supported version clearly.
That said, I tried my app in macOS 10.10, and it still crashes, but the offending selector IS supported in that version.
I'll follow up in a new GitHub issue.
Neither does the per-platform "Report".
I did find something useful in the .NET AppKit docs:
https://docs.microsoft.com/en-us/dotnet/api/appkit.nssplitviewitem.minimumthickness?view=xamarin-mac-sdk-14
There seems to be an annotation declaring the supported OS version explicitly.
Do you know who owns the AppKit .NET projection, and specifically, the ObjCRuntime
types?
Hi. First time visitor here. I'm dead in the water with trying to open storyboards right now. Originally my error was due to the render timing out. I upgraded to VS 2019 and now I get
"An error occurred while initializing the frame's content
System.ArgumentException: 'ZoomMenu_100 ' is not a valid value for property 'Name'."
I upgraded to VS 2019 Preview (which is supposed to fix this) but still get the error. What can I do now?