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

SqliteConnection SystemDLLNotFoundException

Hi, I'm trying to add a Xamarin.Mac project to my PCL Application. I'm trying to use sqlite-net-pcl but my project throws an SystemDLLNotFoundException. I'm using sqlite-net-pcl v.1.5.166-beta. I've...

View Article


SQLite Xamarin.Mac SystemDLLNotFoundException

Hi, I've added a MacOS project to my Xamarin.Forms Solution using Visual Studio for Mac. But when I try to use a SQLiteConnection I get a SystemDLLNotFoundException . I have added the project from a...

View Article


NSCollectionView layoutAttributesForSupplementaryElement strange binding name?

The function layoutAttributesForSupplementaryElement of NSCollectionView is mapped to GetLayoutAttributest in Xamarin.Mac That must be some kind of typing error in the binding?

View Article

Image may be NSFW.
Clik here to view.

How to use NSImage.ImageNamed()?

I'm trying to use NSImage.ImageNamed() to change the image on a NSImageView, using: img.Image = NSImage.ImageNamed("Image-128"); but the result is always null. The image itself is in the project in...

View Article

convert iOS to MAC

Hello, I'm using the following class for auth in xamarin-ios, but I'm unable to use it xamarin-macos because SFSafariViewController, SFSafariViewControllerDelegate and UIViewController cannot be...

View Article


async/await issue on Mac

Hi, I'm just getting started and found a strange issue with asynchronous code. Try this in an iOS project: using System; using System.Collections.Generic; using System.Linq; using...

View Article

Welcome to the Xamarin.Mac Forums and FAQ

Welcome to the Xamarin.Mac forum! This is the place to: Ask and answer questions about how to use Xamarin.Mac and Cocoa APIs Share Xamarin.Mac applications, libraries, and documentation you've written...

View Article

Use ViewController and not Storyboard

I'm not a storyboard user; all my iOS a[ps use xib's. I'm going to write a Mac companion app using xib's as well. When I create a new ViewController (I called it ViewMain) I get three files:...

View Article


FtpWebRequest not working correct on Xamarin.Mac?

I have a cross-platform project targeting Winforms and Xamarin.Mac sharing code. It uses System.Net.FtpWebRequest to list files on a remote device running a ftp-server. It works fine for the...

View Article


how to make my xamarin Mac application open on my primary Monitor

I am trying to create a sign on page for my Xamarin.Mac application and it keeps opening on my secondary Monitor. Is there any way to programatically have it open on my primary monitor? Thanks In Advance

View Article

What do you use for code coverage?

My team is developing a product where we need to measure code coverage. Does anyone have a solution for this? I've found XR.Mono.Cover, but I was hoping there was something more mature. Thanks in...

View Article

Building App file from obfuscated exe

Dear all, I would like to build a program in 3 steps, 1. create the .exe file, 2. obfuscate and secure the .exe file. This I would take from the bin-folder. 3. create a .app file from the obfuscated...

View Article

PHImageManager + PHAsset doesn't seem to exist...

Been trying to load some images from local identifiers but can't due to PHImageManager + PHAsset etc doesn't appear to exist? Can only find documentation on it for iOS but know exists for Mac using...

View Article


Detect, when a removable drive is plugged in USB?

Hi, we need to monitor, when a removable drive is plugged in or was removed. I solved this in Windows, but have some difficulties now on the Xamarin.Mac side. It is suppose to work with IOKit, but...

View Article

Paste option is not working in MAC

Using Xamarin, I want to paste a string from clipboard to cursor position of top most window of another application editor. I am able to copy a string or image to clipboard using NSPastebord option....

View Article


FirebaseApp name [DEFAULT] already exists!

Java.Lang.IllegalStateException: FirebaseApp name [DEFAULT] already exists!.... I get this exception while I run the application What I missing? Any help? Thanks in Advance

View Article

WebKit.WebView Load Failed (-9813)

In my Xamarin.Mac app I have a WebView which I'm trying load from an Embedded Web Server hosted on a printer. But when I set the MainFrameUrl I get this error. 2017-07-17 15:33:37.702 HP...

View Article


PMPrinter Online/Offline Status

Hi all - does anybody know how to programmatically get a PMPrinter's online/offline status in Xamarin.Mac? The PrinterState just indicates the queue's status and is "Idle" even for offline printers....

View Article

CGGetActiveDisplayList() for Xamarin.Mac?

Hi, I'm converting a Swift/Cocoa application to Xamarin.Mac and I'm trying to find a counterpart for the CGGetActiveDisplayList() call inside Xamarin.Mac.CoreGraphics. Is something like this available?...

View Article

UnifiedAPI project not build against currently installed version of Mono

Hi, I hesitated between posting here or the VS for Mac board. But since the issue is specifically related to the UnifiedAPI, I assumed it would be platform specific. Sorry if I'm wrong. I have mono...

View Article
Browsing all 1429 articles
Browse latest View live