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
313
votes
22 answers

How to search for file names in Visual Studio?

In Eclipse you can search for a file in the project by pressing CTRL-SHIFT-R. Is there a way to do this in Visual Studio?
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
56
votes
12 answers

How to open two / multiple instances of Visual Studio for MAC?

I wish to open multiple instances of VS for Mac. I used to be able to do this with Xamarin studio using the Xamarin launcher. How to do this with VS for Mac?
Gobi M
  • 3,243
  • 5
  • 32
  • 47
50
votes
10 answers

com.apple.AuthenticationServices.Authorization Error Code 1000

I receive the following error in DidCompleteWitherror: com.apple.AuthenticationServices.Authorization Error Code 1000 I'm using the following code to sign in to Apple var appleIdProvider = new ASAuthorizationAppleIdProvider(); var request =…
40
votes
6 answers

How to enable migrations in Visual Studio for Mac

I have Visual Studio for Mac and I'm trying to learn Xamarin with Azure using the following tutorial: https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter3/server/ At some point, I have to enable EF migrations. The tutorial…
franswa
  • 836
  • 1
  • 9
  • 21
37
votes
19 answers

Resource file "**/*.resx" cannot be found. (MSB3552) on VS for Mac

We can't build solution on vs for Mac version but the same solution can build on vs for windows (vs 2017) and it's worked. How to fix on this problem ? and can support on both (vs on windows & vs on Mac) Thanks…
Uthen
  • 627
  • 2
  • 9
  • 17
35
votes
1 answer

Release build but debugging enabled

I'm trying to export an Android app. I've selected "Release | ARM". It creates a bundle and lists it in the archives section but there's a warning next to it that says, "Archive built with debugging enabled". How can that be, given that it's a…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
29
votes
5 answers

Can I open two solutions with Visual Studio for Mac at the same time?

That's it. Can this be initiated two times to open two separated solutions at the same time?
martyndev
  • 465
  • 4
  • 5
28
votes
5 answers

Cant find package manager console in visual studio for mac

I am using Visual studio for mac. I need to install some packages but I can't find package manager console for that. Visual studio version: Preview 1 (7.0 build 347)
Sahil Sharma
  • 3,847
  • 6
  • 48
  • 98
26
votes
1 answer

Installing extensions on Visual Studio 2017 mac

I am trying to install Visual Studio Market Place extensions on Visual Studio for Mac but.
25
votes
2 answers

"Inspecting the state of an object in the debuggee of type System.Reflection.MethodBase is not supported in this context"

I don't know what this error means. I am using Visual Studio for Mac 7.5.0 Community version. I am using lazy loading in Entity Framework with ASP.NET Core. public partial class AdminUser { public AdminUser() { RoleAssign = new…
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
22
votes
2 answers

Where is ${DOCKER_REGISTRY-} being set

When creating a new ASP.NET Core 3 project in Visual Studio for Mac, and then right clicking the project and selecting Add - Docker Support, IDE add docker-compose project to the solution and scaffolds the dockerfile for the API…
22
votes
3 answers

Xamarin build-times extremely slow

I have developed several (experimental and prototype) iOS apps using Xamarin and the new Visual Studio for Mac OS and the build-times intermittently take about 5-10 minutes on average. When starting a new project, build-times are fine. After a few…
Léon
  • 286
  • 1
  • 2
  • 7
21
votes
3 answers

Visual Studio for Mac how to collapse regions and methods

I couldn't find a way to collapse/expand regions and sections from Visual Studio for Mac. If someone could share how to do that, it would be very useful.
Jzrzmy
  • 301
  • 1
  • 2
  • 10
19
votes
6 answers

Visual Studio 2019 Fails to connect to Mac's installed Visual Studio for Mac after update "No SDK found at specified location"

Before updating my PC's Visual Studio 2019 (v16.8) I was able to build Xamarin apps and connect to my Mac without issue. After updating to Visual Studio 2019 (v16.9), VS went through the normal process of wanting to update the remote Visual Studio…
17
votes
6 answers

IOS Bundle Signing project option is blank in VS for mac 2022?

Installed vs for mac 2022 on a new machine but the bundle signing option is just black/empty? I've tried all the latest stable updates. I'd really like to avoid installing the old version of Xamarin. Stackoverflow wont let me post the full detailed…
Cliffhanger
  • 1,057
  • 1
  • 9
  • 18
1
2 3
69 70