Questions tagged [xamarin.mac]

Xamarin.Mac is an open source library for building Cocoa applications on OSX using C# and .NET. It is based on top of the Mono framework.

Xamarin.Mac: an open source library for building Cocoa applications on OSX using C# and .NET.

You can dig into the source code and read the documentation.

584 questions
5
votes
1 answer

Create Mac apps with Xamarin from Visual Studio

It seems to be easy enough to create Android and IOS apps on Xamarin in Visual Studio, but I can't see how to create OSX apps. On the Xamarin download page for Windows/VS it states that this "Includes the following: Mac - Develop Apps with…
4
votes
2 answers

Xamarin.Mac: MMP : error MM5309: Failed to execute the tool 'clang'

Since macOS has been upgraded, I upgraded all development environments (Xcode, etc.) and wanted to build with an existing macOS application software project, but I get the following 2 errors and cannot build. macOS Ventura (13.0) Xcode 14.1 Visual…
hibara
  • 137
  • 11
4
votes
2 answers

Notarize the Xamarin.MAC application

We have an existing MAC application developed using Xamarin.MAC and we are distributing the DMG file for the application to user. when we open the application in catalina OS, it is showing some security errors .So we found that we need to notarize…
Roshil K
  • 2,583
  • 28
  • 38
4
votes
1 answer

How to build Xamarin.Mac app on Azure pipelines

Azure pipelines has tasks that support building Xamarin apps for iOS and Android. For iOS this includes the optional capability to package a .ipa file that is suitable for upload to the store. For my project I'm building a macOS app with…
tdimmig
  • 680
  • 9
  • 24
4
votes
2 answers

How to change Picker background Color in Xamarin MAC Platform

After updating the Xamarin Library and MAC OS to latest system, facing issue in Picker Background color and color of item that is selected/focused in picker for MAC Platform in my visual studio 2017. Picker that is filled with multiple values On…
4
votes
1 answer

Access MacBook camera using C# and Xamarin.Mac forms on Visual Studio?

I need to integrate a video stream from my Macbook camera using a Xamarin.Mac form. However, all of the documentation that I find only tells you how to do so in iOS and Android platforms. How would you go at getting a video stream from a Macbook…
net30
  • 197
  • 1
  • 11
4
votes
2 answers

Xamarin Build Error Building Target

I try to compile my simple program in Xamarin and nothing seems to work. I find it a bit buggy :( I have clean the project multiple times and try to build the project again. Nothing seems to work. Do you have any ideas how to solve that? Error:…
4
votes
1 answer

F# interactive terminated

I just updated Xamarin Studio on my Mac. Xamarin Studio is version 6.2 (build 1821). F# interactive now reports the error: Session termination detected. Press Enter to restart. Pressing ENTER does not restart the shell. I have closed the shell and…
downeyt
  • 1,206
  • 2
  • 12
  • 23
4
votes
1 answer

Application backgrounding in Xamarin.Mac

How do I achieve Application backgrounding in Xamarin.Mac. I want something that work similar as android services: Android Services - A Service is an application component that can perform long-running operations in the background, and it does not …
Sunny
  • 1,504
  • 14
  • 22
4
votes
2 answers

Disable NSMenuItem coupled to outlet with Xamarin.Mac

How can I disable a NSMenuItem? I try to disable a NSMenuItem after it has been clicked. The click is handled correctly by the Action (Logout). I tried changing the Enabled property to false in the following two ways: partial void Logout…
Waaghals
  • 2,029
  • 16
  • 30
4
votes
1 answer

How to use WebView in Xamarin.Mac

I need to authenticate user in my app, and for that I want to spawn another window with Cocoa WebView control. The problem is that I can't do anything with that control from C# code, and can't find any documentation for it :( Trying to…
JonathanX64
  • 93
  • 1
  • 10
4
votes
2 answers

How to create Image Button in Xamarin.Forms?

Please let us know how to create Image Button in Xamarin.Forms, we aren't using the story board. Environment : Xamarin Studio on Mac
user1027076
  • 175
  • 1
  • 4
  • 12
4
votes
1 answer

Registering a Service in Xamarin.Mac

I am registering a contextual service in OS X via Xamarin.Mac. So far I have registered the service, written it, exported its signature and got the item showing up in Finder. However, whenever I invoke the context item, nothing happens. So far I…
Daniel Park
  • 3,903
  • 4
  • 23
  • 38
4
votes
0 answers

Xamarin not resolving references correctly

Anybody seen the following an know of a workaround? Question If I have multiple solutions with multiple projects in each one. What I’m seeing is a failure to resolve assembly references. This seems to occur when I previously had an open solution…
4
votes
0 answers

MS Office Interop for OS X

I've been searching high and low for information on interop with the Mac versions of Office (specifically, PowerPoint). I haven't been able to find any documentation on what APIs are available, or even what protocol is used to access them...…
1 2
3
38 39