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

Signing Mac App in Visual Studio for Mac (Xamarin)

I have a Mac app, created in Visual Studio for Mac. Before distributing, I would need to have the application bundle signed. However, looking at the project options, this is greyed out on my screen: According to…
user3087157
  • 389
  • 2
  • 9
10
votes
3 answers

Duplicate client-side files in solution explorer with Visual Studio for Mac

Using dotnet cli v2.1.4 I downloaded the Spa templates using dotnet new --install Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0. I then created an angular project using dotnet new angular -o my-project. I then opened Visual Studio for Mac and…
Zachscs
  • 3,353
  • 7
  • 27
  • 52
10
votes
1 answer

Is it possible to develop ASP.NET MVC applications in Visual Studio for Mac?

Since I am planning to buy a new MacBook Pro (2017) and currently working on a Windows 10-device on a ASP.NET MVC (Not ASP.NET Core MVC) project for my internship, I was wondering if it is possible to continue developing the same project in Visual…
user7410216
  • 175
  • 1
  • 2
  • 10
10
votes
4 answers

How to Reset Window Layout in Visual Studio for Mac

Is it possible to reset window layout in Visual Studio for Mac? I am able to do this for Visual Studios on Windows, but not on Mac version.
kimbaudi
  • 13,655
  • 9
  • 62
  • 74
10
votes
2 answers

install visual studio professional on a mac, only community will install for me

I am trying to install Visual Studio Professional for mac from here: https://www.visualstudio.com/vs/visual-studio-mac/ No matter which version I down load, Community, Professional or Enterprise it is always Community that get's installed. Anyone…
Slee
  • 27,498
  • 52
  • 145
  • 243
9
votes
1 answer

None of the currently installed provisioning profiles match app's bundle identifier?

I'm trying to upload my iOS application in Visual Studio for Mac to the Apple App Store but I get this error message: The error message in Visual Studio: The application works on my iPhone, therefore I'm surprised that I get this error message. In…
StephenBu1
  • 229
  • 3
  • 11
9
votes
3 answers

How do I connect Visual Studio for Mac OS to Azure Dev Ops/VSTS?

I have a project in Azure Dev Ops that I need to connect to and I'm using Visual Studio for Mac. Usually on the PC I can click Version Control or project and browse to it, and then sync. However, I don't see that. In addition when I look at the…
9
votes
3 answers

Visual Studio for mac: how to run a terminal

I'm new to Visual Studio on mac, can someone show where we can run a terminal window to execute some git commands?
Vitalii
  • 10,091
  • 18
  • 83
  • 151
9
votes
2 answers

Update Database with Migrations CLI on VS for Mac (DotNet Core 2)

I created the Models of my database on VS for Mac and used terminal for create migrations: dotnet ef migrations add IntitialMigration Then, I updated my database: dotnet ef database update But after I changed my Models and I created another…
9
votes
3 answers

Visual Studio Mac Won't Show iOS Simulators

I've got a Xamarin Forms solution with iOS and Android projects. The iOS side was working, I switched over and did a bunch of work on the Android side. Now I need to do some more iOS stuff (push notifications) and I can't get the iOS Simulator to…
hofo
  • 522
  • 1
  • 4
  • 16
9
votes
3 answers

Visual Studio Mac Can't run ASP.NET Core Project

This may be very obvious in hindsight. When installing the new VS Mac, and creating an ASPNET Core project, I can't run it by clicking the run button in the top left. I can run if I right click on the Web project, click 'Run With' then 'Custom…
Martin Alderson
  • 892
  • 1
  • 7
  • 14
9
votes
1 answer

Visual studio (MAC) Console Application

maybe some of you know, that Visual Studio (Preview) is ready to use. I have simple question, maybe I did something wrong, or it doesn't work properly. When I start to debug Console Application doesn't want to let me read name from keyboard. string…
8
votes
2 answers

Xamarin, how to generate constants for images file names in the project?

I'm looking for a way to generate constants classes c# file(s) for image file names in my project. So I can use them in code and xaml, runtime and design time, when the classes are regenerated (when image files have changed) this would highlight…
Jules
  • 7,568
  • 14
  • 102
  • 186
8
votes
1 answer

Why isn't console.writeline working in Visual Studio for Mac?

I've got a console application that I just made in Visual Studio for Mac and in the Program.cs the code that was created automatically apparently had errors. Here is the code: using System; namespace Console { class MainClass { …
user13936206
8
votes
3 answers

Trying to publish to GooglePlay appStore gives error 403

Trying to upload the version 39 of the app, the error message I get is: Error uploading 'foo.bar.baz' Version 38 of this app cannot be downloaded by any devices as they will all receive APKs with higher version codes. [403] Screenshot: What does…
knocte
  • 16,941
  • 11
  • 79
  • 125
1 2
3
69 70