Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Browsing all 1429 articles
Browse latest View live

NSApplication.Init() finding missing 'dependencies'

Hello! I am porting to Xamarin.Mac a set of interconnected assemblies which constitute a windows service. I have recreated their source trees in Xamarin.Mac projects and they compile. I have another...

View Article


Using external dll

Hi, I am developing a Windows and OS X App which both are using ACRCloud. The dll is imported via [DllImport("libacrcloud_extr_tool.dll")] which works perfect on windows, but on my Mac it does not...

View Article


how to do crash reporting for OS X app

does insight support OS X?

View Article

Memory leak in NSImage conversion when using autoreleasepool

I have a memory leak in my program where I convert a NSImage to a byte array. I tried to dispose of all variables and use an autoreleasepool: void LoadNewScreenImage() { byte[] pixels; using...

View Article

Entity Framework

Hi, I am trying to use Entity Framework on Sqlite on Xamarin.Mac. I am getting interop.dll not found error. I then switched to Mono.Data.Sqlite but then entity framework is not usable. I am attaching...

View Article


NSComboBox with images

I want to show images near text inside ComboBox items. Are there any ready solution for this?

View Article

How to call Framework functions defined inside of structs?

I'm a long-time .NET developer working on my first Xamarin Mac project. I'm trying to call into IOKit for some USB functionality, but I've run into some problems. I can scan through and retrieve...

View Article

error in attaching provisioning profile in xamarin

Hi, i am trying to attach certificate to my project while release..but when i try to release it gives error"a sealed resource is missing or invalid" i have 2 project in solution and they are linked to...

View Article


Problem Xamarin Studio for mac

I have problem Xamarin Studio , When i open for new solution , think the solution not me leaves them components, or them windows to make the application

View Article


How to exit an agent gracefully

In a regular Cocoa application you can handle application start/stop with the AppDelegate's DidFinishLaunching and WillTerminate methods. But it only works if the application has a main window. I'm...

View Article

MTP in Xamarin Mac

I am trying to use MTP based devices on Mac cocoa but It turns out there is no built in support for it. I am trying to work using LibUSB and LibMTP. So far I was able to install LibMTP on my mac but...

View Article

How to Dismiss a ToolBarItem PopUp from an NSWindowController?

I have a ToolBarItem in a Xamarin.Mac application which segues to a popup which has a custom NSViewController. I also have a custom NSWindowController for the MainWindow where I override...

View Article

Opening a Window in a dynamically loaded libary

Coming from a Windows Forms environment, I am struggling to fully understand the subtle challenges of Mac development... I dynamically load a library using reflection, then call a method in the library...

View Article


Xamarin Studio redistributables for Mac

I am a lecturer computer sciences and I'm teaching Xamarin this year to my students When installing Xamarin Studio on mac, it downloaded 3.9Gb of data. I need to install this on 16 Mac Mini's, so I...

View Article

ToggleButton in NSToolbar

Good day everyone, There is a new question from me: Is there a way to implement ToggleButton and place it to NSToolbar in Xamarin.Mac? Or, for example, make toolbar button image gray without actually...

View Article


How to Customize an NSCollectionView and NSCollectionViewItems in Xamarin.Mac

I've managed to implement the steps in the guide, https://developer.xamarin.com/guides/mac/user-interface/working-with-collection-views/, but Id like to have more control over the look and feel of the...

View Article

Xamarin.Mac corrupted?

I've been working in Xamarin Studio (Xamarin.Mac) now for several weeks with no issues other than learning curve. Then I ran into the issue documented here:...

View Article


How do I get Bonjour working on a Mac

I am trying to register a service for discovery using Bonjour and can't seem to get it to work on a Mac. I created a really simple example showing what I'm doing but all I ever see is the "Bonjour...

View Article

Stable Channel: Xamarin.Mac 2.10.0, Cycle 8 Feature Release

Please see "Stable Release: Cycle 8 w/ iOS 10 and Xcode 8 Support" on the Release Blog for the details about this release.

View Article

NSPort Solution

I am looking at example https://developer.xamarin.com/samples/mac/NSPortExample/ I am trying to recreate the Obj-C code into c# but I am not having any success. Below is my simple version of the Obj-C...

View Article
Browsing all 1429 articles
Browse latest View live