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 ArticleUsing 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 ArticleMemory 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 ArticleEntity 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 ArticleNSComboBox with images
I want to show images near text inside ComboBox items. Are there any ready solution for this?
View ArticleHow 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 Articleerror 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 ArticleProblem 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 ArticleHow 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 ArticleMTP 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 ArticleHow 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 ArticleOpening 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 ArticleXamarin 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 ArticleToggleButton 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 ArticleHow 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 ArticleXamarin.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 ArticleHow 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 ArticleStable 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 ArticleNSPort 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