Questions tagged [visual-studio-mac]

Visual Studio for Mac is an IDE from Microsoft for Mac users. Use this tag if you have a specific question about Visual Studio for Mac features and functionality, not just a question regarding your code. Please mention your exact macOS version, VS for Mac version, Mono version and Xamarin runtime versions when applicable. Information such as Xcode and Android SDK versions are also useful.

Microsoft released Visual Studio for Mac in 2017 (based on MonoDevelop 7.0 code base), to replace Xamarin Studio (it was based on MonoDevelop 6.0 code base).

Primarily it supports Xamarin (Xamarin.Mac, Xamarin.iOS and Xamarin.Android) and .NET Core projects. Other project types might not be supported very well (due to Mono/.NET Framework compatibility).

Not every features of Visual Studio 2017 on Windows are supported by Visual Studio for Mac.

Product defects can be reported to Microsoft via Help | Report a Problem. Feature requests can also be raised via Help | Provide a Suggestion.

1045 questions
0
votes
0 answers

Create Custom TableViewCell using XIB-File

I am using Xib file on which I drag and drop a TableViewController. My goal is to use custom cells on the TableViewController. I edit the class in the properties panel of the first cell to a Specific name(Let's say MyCustomCell) to get a custom…
FolabiAhn
  • 376
  • 1
  • 11
0
votes
2 answers

VS Cocoa - Error when trying to open Main.Storyboard: "id cannot be empty"

Cannot find a solution or definition online anywhere about this which is ridiculous. When attempting to open the Main.Storyboard from the solution explorer I get a popup error stating simply "id cannot be empty." I have no idea where to find this…
Jacob Johnson
  • 551
  • 1
  • 6
  • 20
0
votes
1 answer

How to Remote Debug ASP.NET Core on an Azure App Service from a Mac?

I am developing an ASP.NET Core project that uses an Azure App Service. My development environment is Visual Studio for Mac. There are lots of documents like https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure which…
JSWilson
  • 1,113
  • 1
  • 11
  • 28
0
votes
0 answers

Can not find compilation library location for package 'Newtonsoft.Json'

Using Visual Studio for Mac (Community 7.3), I am trying to run the sample project from Lynda.com's "Learning ASP.NET Core MVC" Chapter 3 which introduces "Render HTML with Razor". I builds find but when I try to load in browser I get the error…
Nik Edmiidz
  • 72
  • 1
  • 6
0
votes
1 answer

Xamarin Forms Android Compile Error

I'm trying to update my Xamarin Forms app to the latest Xamarin Forms and target the Android version against 7.1. After updating the build and target framework to 7.1 I'm getting the following compile time…
Austin
  • 4,638
  • 7
  • 41
  • 60
0
votes
1 answer

Apple, iOS and 32+64 bit apps built with Visual Studio

With the release of the iOS 11 SDK, Visual Studio Mac got rid of the option to compile for previous 32 bit devices (iPhone 5, iPhone 5C and prior). We're building an application for a client, and one of the main requirements were to support older…
fonix232
  • 2,132
  • 6
  • 39
  • 69
0
votes
1 answer

SoundPlayer on Visual Studio 2017 Mac outputs no sound

I have instantiated a System.Media.SoundPlayer and I am (trying to) use it to play a .wav file. However, as you may have picked up from the title of this, it isn't working (no sound is being outputted). I am using C# and creating a Console…
0
votes
1 answer

Error loading android axml files Visual Studio Mac

Visual Studio's android designer isn't loading axml files. This happens on every single android project. Tried downgrading the VS version, installed new one from alpha channel, tried selecting other theme in designer, nothing helped. Here is the…
arsena
  • 1,935
  • 19
  • 36
0
votes
1 answer

Xamarin/Visual Studio on Mac - iPhone - Not able to list X509Store certificates

Environment Device: . iPhone6s Development Environment: .net Standard 1.5, Visual Studio on Mac Community Version 7.2.2 (build 7), Xamarin I have the following code to get/list Certificates that are installed on my iPhone. I have not been successful…
user1811107
  • 729
  • 3
  • 18
  • 39
0
votes
1 answer

Cant add PCL project's Reference into Xunit project

I have one PCL project, in this project I made Xunit project, which I want to reference my PCL project to test it. When I'm trying to add a reference, I cant check it, because of I have an error like this: Incompatible target framework:…
Tornike Gomareli
  • 1,564
  • 2
  • 16
  • 28
0
votes
0 answers

why am I not able to install iOS app to iPhone x simulator

Visual Studio Community 2017 for Mac Version 7.2.2 (build 11) Installation UUID: 31d15ad0-e2b9-4dc5-bc31-0d1691b70a29 Runtime: Mono 5.4.1.6 (2017-06/1f4613aa1ac) (64-bit) GTK+ 2.24.23 (Raleigh theme) Package version: 504010006 NuGet…
Rajan M
  • 345
  • 3
  • 22
0
votes
0 answers

Visual Studio for Mac NSInternalInconsistencyException

This is a weird problem: app suddenly started to crash but there is no reason. Let me explain. I'm developing a simple app on iOS (with Visual Studio for Mac) on MacOS and it worked well until yesterday but after some code modifications (reformat…
Nerkyator
  • 3,976
  • 1
  • 25
  • 31
0
votes
1 answer

How to make a solution template for visual studio for Mac

I want to make a solution template for visual studio for Mac. IN window work for me but I would like to know how to do it for visual studio for mac
0
votes
1 answer

Visual Studio Mac can't find Xamarin.Android

I have a problem in my visual studio for mac, that prevents me from building android apps. As you can see in the screenshots I can't even select an android SDK. And my project tells me that Xamarin.Android is not installed. I already tried…
0
votes
0 answers

App Store submit : paths that are not allowed:( "AppThinning.plist" ) Build Visual studio for Mac

Got this Dear developer, We have discovered one or more issues with your recent delivery for "Testflight evry test". To process your delivery, the following issues must be corrected: This bundle is invalid - Your archive contains paths that are not…
JoacimWall
  • 33
  • 7