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
2 answers

Visual Studio Community 2022 for Mac 17.3.1 current column number

Is there a way to show current column number of the cursor in code editor?
Slaven Semper
  • 117
  • 1
  • 2
  • 8
3
votes
0 answers

Visualize Project Dependencies in Visual Studio for Mac?

I'm using Visual Studio for Mac, and I want to create a picture of our numerous .NET C# Projects that visually shows the dependency graph. It appears I can do this in Visual Studio (for Windows) with Code Maps. But from that article I don't see…
Michael R
  • 1,547
  • 1
  • 19
  • 27
3
votes
2 answers

Visual Studio 2019 Mac keeps asking for HTTPS developer certificate

had to ask cause I can't seem to find any solutions to my problem. I just installed .NET Core 5.0.401 on my mac running OS X 10.13.6 and created a project in Visual Studio Community 2019 using the ASP.NET Web Application (Model-View-Controller)…
3
votes
0 answers

How to add a custom view dynamically to a view in Visual Studio for Mac C#

I'm working through a project where I'm going to have multiple square size instances of the same set of form components. I can either create 8 instances manually in my form UI or what I'd rather do is create a view (or Item Renderer) and then…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
3
votes
2 answers

Android Emulator - Unexpected '-prop' value

I've seen this error plenty enough but not on a 2020 Macbook pro with an Apple M1 chip, running through Visual Studio 2019 for Mac. When I try to start the Android emulator, I get an error; "Unexpected error" When I go into the Android Device…
huzi8t9
  • 241
  • 2
  • 9
3
votes
1 answer

Unity Scripts edited in Visual studio don't provide autocomplete on certain lines

When I edit the C# Unity Scripts, they open in Visual Studio. I've noticed that the autocomplete works on some lines but it doesn't in others. Here you can see what's going on: As you can see I get the autocomplete for GetComponent function only…
3
votes
1 answer

Obfuscar for Xamarin Forms

I'm developing a Xamarin.Forms app using Visual Studio for Mac (Community Edition). I'm able to decompile the source code of the Android application using ILSpy In order to obfuscate the source code, I used Obfuscar and followed the steps in…
3
votes
0 answers

Visual studio mac Scrolling issue

With some applications the scroll bar freezes when scrolled, as you can see from the Gif, it will scroll but all the UI will stick, until the cursor is run over the top of it, this only happens in some applications such as Visual Studio, it use to…
Conor Drew
  • 91
  • 1
  • 7
3
votes
1 answer

Can't attach Visual Studio for Mac debugger to Unity 2020

The option "Attach to Unity" does not appear on Visual Studio for Mac: Also, on Unity's Preferences -> External Tools, I don't see a "Editor Attaching" option: Everything was working fine a couple of days ago, and I didn't update Unity, Visual…
Marcelo Vitoria
  • 591
  • 1
  • 5
  • 15
3
votes
1 answer

Where is the IPA on the Mac (when it's used as a build server)?

On Visual Studio version 16.6.1 (on Windows), when building a Xamarin.iOS app with a Mac as a build server, the "Show IPA File on Build Server" option is grayed out. So where can I find the IPA on the Mac? (I already searched in the Mac's HD ->…
ispiro
  • 26,556
  • 38
  • 136
  • 291
3
votes
0 answers

Can't figure out how to use Live Share on VS Mac 8.5.1

I'm a Windows user trying to help my cousin learn C# programming. He's got a Mac and has installed VS Mac 8.5.1. We've successfully used Live Share on VS Code, but we can't figure out how he can start Live Share on VS Mac, or if I start it, how to…
3
votes
1 answer

Visual Studio Mac - Android Build - Enable Developer Instrumentation cannot be disabled

I'm on a Mac (Catalina OS) running Visual Studio for Mac Community (version 8.5 build 3183). I've created a Xamarin solution targeting both Android and iOS. For my Android Build options, for the Release configuration, I want to uncheck the "Enable…
Dan Neumann
  • 141
  • 7
3
votes
0 answers

C#: How to manage Charles Proxy to trace calls from Visual Studio or Rider?

I use Charles Proxy on Mac OS, to debug mobile app: it works well on real devices (iOS/Android), on iOS simulator, but it's a little tricky on Android simulators (several IPs are used for the same URL). However, I try to debug APIs Integrations…
3
votes
1 answer

how to import a publish profile in visual studio mac

I cannot see my app service by default in the Publish menu, because I have two subscriptions and the default one is not the one with the app service I need. Since there is no option there to change subscriptions, nor to import a profile, I can only…
roberto tomás
  • 4,435
  • 5
  • 42
  • 71
3
votes
1 answer

Issue with using On-Demand Resource through Xamarin.iOS on iOS simulator

I have run into an issue where I am unable to access assets tagged for use in Apple’s On-Demand Resource feature through a Xamarin.iOS app, but only when run on the simulator. This only occurred after updating my environment. I was previously on…