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
3
votes
1 answer

How to export Preferences in Visual Studio v.8.x for Mac?

VS on Windows, of course, has an Export / Import feature for your Settings, so they can be easily re-installed on new machines or shared with other team members. Does VS for Mac have the same functionality? I can't find it. As an alternative, where…
3
votes
1 answer

Build Xamarin.iOS for simulator from command line

When you build a Xamarin.iOS project for simulator from the Visual Studio for Mac it creates an .app file in YourApp.iOS/bin/iPhoneSimulator/Debug/device-builds/iphone12.1-13.2.2/ directory and deploys it to a simulator. You also can install the…
3
votes
1 answer

ASSERTION FAILURE in IBUIColor.m - Xamarin.iOS

All of a sudden my Xamarin iOS project is not building. My last commited version of the Storyboard is working, but any slight change in the file producing the following errors. MainController.storyboard : error : 2019-11-19 19:53:33.159…
Ayan Das
  • 258
  • 1
  • 11
3
votes
0 answers

Cannot connect Player (iPhone 8 iOS 13.1) to visual studio for mac 2019

I am trying to debug my VR application built in Unity using Visual studio for Mac 2019. But I am not able to connect my iPhone device to the Unity Debugger in VS. I enabled the “Development Build” , ”Script Debugging” and “Wait For Managed Debugger”…
3
votes
1 answer

How can I compile Sass in Visual Studio 2019 for Mac?

So I would like to use my Macbook to build a new app but the tools I typically use for SASS, mainly the Web Compiler extension, are not supported on Mac. Is there a similar tool I can use on Mac in VS to compile Sass? I'm using Visual Studio 2019…
3
votes
0 answers

Why is my .editorconfig file being ignored?

I am using Visual Studio for Mac, 8.3.4 (build 8) I have a very simple Visual Studio solution with one small project. I followed the docs exactly to create my .editorconfig file, but when I do Edit -> Format -> Format Document, my options are…
numberjak
  • 1,065
  • 4
  • 13
  • 28
3
votes
1 answer

How to display hidden files in Visual Studio for Mac?

The icon for displaying all files in the solution is missing in the Mac version. How do I show hidden files on Visual Studio for Mac Community?
Gene Parcellano
  • 5,799
  • 5
  • 36
  • 43
3
votes
2 answers

Visual Studio 2019 not underlining errors on Mac

Visual Studio is not underlining errors. For example on my PC if type out: private int myInt it will put a little red underline after because i forgot ; on my mac it does nothing making debugging a lot harder. I did a few google searches but the…
3
votes
2 answers

Visual Studio for Mac creates 2 .apk archives, one with -signed.apk

When I create a release archive of a Xamarin Android app in the latest release of Visual Studio for Mac (8.1.3 build 19), I end up with two .apk's, with filenames like: com.whatevs.android.apk com.whatevs.android-signed.apk Why does it do this?…
Mick Byrne
  • 14,394
  • 16
  • 76
  • 91
3
votes
1 answer

Visual Studio For Mac Debugging Unit Tests

I just downloaded VS 2019 for Mac. Console projects debugging works fine hitting break points. If I try to debug a MSTest or NUnit test project the break points are ignored with no error message. I have tried changing the options, I am in debug…
Mwspencer
  • 1,142
  • 3
  • 18
  • 35
3
votes
0 answers

Task could not find "AxImp.exe" when building project on Visual Studio Mac

I have a .net project that was built on Visual Studio PC and now I'm trying to build the project on my Mac version of Visual Studio but the project will not build. I've reinstalled VC Mac and also installed dotnet-sdk-2.2.107-osx-x64 as well as…
3
votes
0 answers

RoslynTargetsPath appears to be not set for VisualStudio

Today (without me initiating any updates) VisualStudio (VisualStudio for Mac Community Version 8.0.6 build 4) all of a sudden kept telling me I needed to upgrade Mono (I'm on a Mac). I did so. After that none of my projects would compile because it…
jdix
  • 31
  • 1
3
votes
1 answer

After update to Visual Studio 2019 on Mac, integration with Azure DevOps TFS server broken

After my recent upgrade to Visual Studio 2019 (?) on Mac, I am unable to connect to my TFS server using the TFS Source Control extension. My current setup: Visual Studio for Mac, version 8.0.3.14 Source Control Extension: Team Foundation Version…
A. Abrams
  • 113
  • 11
3
votes
1 answer

Razor View showing Htmlhelper does not contain a definition for

I have been using VS for Mac for a while. But I always getting the following warning messages in my views: 'HtmlHelper' doesn't contain a definition for 'ActionLink' and not accessible extension method 'ActionLink' accepting a first argument of…
MikePR
  • 2,786
  • 5
  • 31
  • 64
3
votes
2 answers

Xamarin Forms iOS Build Release Build missing AppIcons

In my Xamarin Forms project (Visual Studio for Mac) I get the following error when I switch to Release-Build: Error: System.IO.FileNotFoundException:…
mklieber
  • 192
  • 11