All Questions
158 questions
3
votes
1
answer
1k
views
Pairing with a mac results in visual studio freezing
I have an app that was developed using Xamarin on Visual Studio (17.7.1 & 17.7.3) and I want to publish it on the App Store for Apple and to do that I need to pair with a mac. Now, as the title ...
0
votes
0
answers
57
views
Issue using "System.IO.Ports" namespace on Xamarin.Mac 2.0
I'm trying to add the namespace System.IO.Ports into my Xamarin.Mac project, but it's not working. Anyone who has the same issue ?Also I see that in my Project.csproj file, the is the V2.0, but on ...
0
votes
0
answers
78
views
Xamarin Forms iOS and Android projects not able to run In Mac?
The below are the issues I am getting when I am cleaning and Building the project.
When we are running the project iOS or Android both is occurring same
error:
/Library/Frameworks/Mono.framework/...
1
vote
0
answers
44
views
Segue from ViewController to another Window Controller not calling PrepareForSegue
I have a ViewController that comes from the main window. On that ViewController there is a button that opens up another window (a Split Window Controller) when pressed. For that, I created a Modal ...
0
votes
1
answer
42
views
How to add a second row of toolbar using Xamarin.Mac
I have a split window controller with sidebar as follows:
Split Window Controller
I want to be able to click on the pencil icon in the toolbar and another row of toolbar shows up, like the Preview app:...
0
votes
2
answers
362
views
How to toggle a sidebar in a split view controller in macOS using C#
I am developing an app on Visual Studio for Mac with Xcode. I have a Window Controller with Sidebar that gives you a split view controller that is split into a sidebar controller and a view controller....
1
vote
0
answers
111
views
Xamarin.Mac handle incoming URLs
I have added url in my Info.plist and trying to handle incoming url like described in this article.
I'm trying to add this code
public override void WillFinishLaunching(NSNotification ...
1
vote
0
answers
52
views
Assembly reference naming conventions conflict between Xamarin Mac and Xamarin Forms for Windows
I have some library that I have done and published in my own Nuget server. That library has a reference to stateless library:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
...
3
votes
0
answers
635
views
Cannot add package reference
I'm building a xamarin.ios app in VS mac. I'm trying to add a certain package, but when I try to add it I get this error
jon@jons-MacBook-Pro-2 helloworld % dotnet add package Ditto
/...
1
vote
2
answers
525
views
.NET6 not compatible with Visual Studio for Mac M1, what can I use for xamarin?
I'm trying to learn how to make apps with xamarin forms. I'm using a M1 Macbook pro, and when I open Visual Studio, it says I have to uninstall my latest versions of .NET (I have .NET6), I read that ....
2
votes
1
answer
457
views
Xamarin Mac FFmpeg launch path not accessible
I have a Xamarin Forms project with Mac support and I am trying to implement FFmpeg, so I have downloaded the Static build from its official page and added it as in the resources folder of the Mac ...
0
votes
0
answers
952
views
Xamarin Deploying failed
I was trying to make my own app, but when I try to build and deploy it for testing.
It just gives me some error
Done building project "testing.csproj" -- FAILED.
Build FAILED.
/Library/...
-1
votes
1
answer
179
views
How to make menus in a storyboard in xcode with cocoa and c#
I want to make many menus like antiviruses do. I want it so when you click one of the many buttons I have on the left, all the other buttons will disable and this one wil stay enabled. And it will ...
0
votes
1
answer
141
views
NSStatusBarButton.Activate event does not fire (Xamarin.Mac - C#)
I'm trying to subscribe to the Activate event of an NSStatusBarButton object in AppDelegate's DidFinishLaunching() but the event never gets invoked.
The purpose is to get notified when the top menu ...
0
votes
2
answers
264
views
Xamarin.Mac: Closed window is not reopened to click app icon in the dock
I would like to be able to close all the windows once and then click on the icon in the Dock to make the window reopen again.
I was able to find the following code.
AppDelegate.cs
public override ...