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

VS on macOS: Could not find file /bin\roslyn\csc.exe". Path issue

I'm trying to get the MS Bot builder samples up and running on a mac, using VS Preview. Every time I try to run the application I get an error 500 and: Could not find file…
EsbenB
  • 3,356
  • 25
  • 44
7
votes
2 answers

Failed to install Visual Studio for Mac Preview on macOS Sierra

On macOS Sierra 10.12.2 the Visual Studio for Mac Preview fails to install. The install version is 3.0.0. (1). The software requirements are all installed, but the installer fails to detect the Android SDK at some point: [2017-01-12 10:08:52.260]…
loretoparisi
  • 15,724
  • 11
  • 102
  • 146
6
votes
2 answers

How to publish Web API to Deployment Slot in Visual Studio For Mac?

I would like to know how to publish my Web API to an Azure Deployment Slot in VS 4 Mac. It's straightforward to select the deployment slot I want to deploy in VS 4 Windows; I don't see that option in VS 4 Mac. How can I achieve this in Mac OS?
Juan Martí
  • 309
  • 3
  • 5
6
votes
3 answers

Failed to synchronize ****.com teams with Apple Developer Portal.No such host is known. (Xamarin project).?

Error : Failed to synchronize ****.com teams with Apple Developer Portal.No such host is known. Apple developer account was working fine but on a sudden showing this error while opening Apple developer accounts from preferences Path--> Visual…
XamarinInfo
  • 133
  • 1
  • 8
6
votes
0 answers

How to use npm in ASP.NET Core 2, while using Visual Studio For Mac?

I'm building ASP.NET Core 2 web application and I'm trying to add jquery. In Visual Studio 2017 for Windows, I would click right on the project, click "Add" and then select "npm Configuration File" from the Web tab, here: After opening the…
Ish Thomas
  • 2,270
  • 2
  • 27
  • 57
6
votes
1 answer

Pre-Build/Post-Build Events in Visual Studio for Mac

I'm pretty new to Visual Studio, and I can't seem to find where to go to find pre and post build events. I know how to do it on Windows, but i'm on Mac currently and it seems to work differently. If anyone could help to direct me that would be…
Flarefin
  • 63
  • 1
  • 3
6
votes
1 answer

how to open visual studio solution explorer using mac

The solution explorer is not showing, could you please tell how to open it. I only know how to open on windows not mac. I tried the view-> solution explorer but it's not the same on mac
user8834153
6
votes
1 answer

How to change test run timeout?

Some of my test classes take longer than a minute to run and I can't complete them because it cancels it saying: Canceling test run: test run timeout of 60000 milliseconds exceeded. Is this configurable somewhere? I'm using the latest versions of:…
Karl Green
  • 260
  • 1
  • 4
  • 11
6
votes
1 answer

How to debug .NET Core/Standard unit tests in Visual Studio 2017 Mac?

I have a project that has implementation in a netstandard 1.6 project, and my unit tests are in a .NET Core 2.0 project. I'm running Visual Studio 2017 Mac version 7.3 (build 764). The tests run from the Unit Test pad just fine (green circle and…
6
votes
1 answer

Can't find "Edit Project" command in Visual Studio for Mac

The title says it all, really. I am looking for the equivalent to the Visual Studio for Windows feature wherein I can right-click a .NET Core/.NET Standard project in the Solution Explorer and edit the *.csproj file in the IDE editor. I can't find…
wjk
  • 1,219
  • 11
  • 27
6
votes
1 answer

How to connect VS Mac to a GitLab repo?

I'm starting a new project using Visual Studio 2017 Community for Mac. I've already set up a GitLab repo for the project, but I can't for the life of me figure out how to connect VS Mac to the repo. I tried looking in Microsoft's own documentation…
Tyll'a
  • 526
  • 1
  • 5
  • 17
6
votes
3 answers

visual studio mac for mac missing of identity class

Hi i downloaded visual studio for mac 2017 community version. I created a default MVC Core 2.0 project and i noticed that there is missing class of Account controllers where it used to have register and account other handler functions. i created the…
MVC newbie
  • 579
  • 3
  • 9
  • 26
6
votes
3 answers

Publish to Azure in Visual Studio Community for Mac

I created a brand new project in Visual Studio Community for Mac and got my Azure app service set up, ready to be deployed to. In Visual Studio, for some reason there is no publish option at all when I right click on the project itself. It is an MVC…
muttley91
  • 12,278
  • 33
  • 106
  • 160
6
votes
0 answers

Using C/C++ library in Visual Studio Mac solution (Xamarin.Mac app)?

Xamarin.Mac And C++ I am trying using C++ library (.a) in Visual Studio for Mac (a.k.a. Xamarin) I've found online some info on linking native libraries in Xamarin (https://developer.xamarin.com/guides/ios/advanced_topics/native_interop/) but it…
Nick
  • 1,248
  • 12
  • 18
5
votes
4 answers

Failed to synchronize abc@xyz.de account with Apple Developer Portal.Failed to resolve forward links for Apple Develop Portal client

I'm loosing my nerves with this apple products... i want to add my Apple Developer Account to Visual Studio for Mac (V8.10.4 Build 11). But I get this error: "Failed to synchronize abc@xyz.de account with Apple Developer Portal." "Failed to resolve…