Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

New to most of this, having problem finding Xamarin.Forms.Platform.MacOS

$
0
0

Hi,

I have the goal to create a Xamarin.Forms desktop app on Windows with WPF and on Mac. I have the Windows version going, but on Mac I am unable to install or reference Xamarin.Forms.Platform.MacOS in order to access FormsApplicationDelegate. I've beat my head over this and looked at several examples. The only thing I can think of that seems to be different from most is that I don't have any interest in mobile development. I don't have an iOS or Android project in my solution.

Any help on what to do would be appreciated. The error that I see is:

Error CS0234: The type or namespace name 'MacOS' does not exist in the namespace 'Xamarin.Forms.Platform' (are you missing an assembly reference?) (CS0234)

For the line:

using Xamarin.Forms.Platform.MacOS;

I searched NuGet and also tried enabling prerelease versions and upgrading to 3.2 from 3.1. I can't find that platform package anywhere.

Thanks,

Brent W.


Viewing all articles
Browse latest Browse all 1429

Trending Articles