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
0
votes
0 answers

Deploy xamarin app on real iphone for debug

I am trying to deploy a xamarin forms app for debug to my physical Iphone. On previous versions, I just had to plug the iphone to the mac and the deployment target was automatically switched to the real device. Since the last update no change when I…
labelle
  • 420
  • 4
  • 19
0
votes
1 answer

VisualStudio 2017 runs .exe when building on external console

I'm trying to learn some C# and am currently using the internal console for outputs, but when it comes to keyboard inputs, I've read that it can not be done in the internal console on VS 2017 for Mac. So I try to do it on external console, but all…
naspy971
  • 1,137
  • 2
  • 13
  • 31
0
votes
1 answer

How to navigate from Source Code Editor in Visual Studio for Mac to Xamarin API documentation?

In Visual Studio for Windows, in C# editor, when you type a name of a method and press on F1, while the cursor is on the method for example WithLuninosity as below var color = Color.FromRGB(100, 100, 100); var color.WithLuminosity(.75); a browser…
0
votes
1 answer

How to configure VS 'toolbox' mac 7.4.3 version

I am attempting to use newly installed; Visual Studio 7.4.3 on mac for simple asp.net / C# web forms. (I do not have a windows machine). I need to configure a data source via the Data Source wizard that is typically available via the 'toolbox' bar…
0
votes
1 answer

Mono Framework Build Error - Mac OSX

When using the Mono framework 5.10.0.16 (regardless of IDE: VS for Mac, JetBrains Rider and MonoDevelop) the same error occurs and I cannot make sense of it: Microsoft.VisualBasic.Core.targets(73, 5): [MSB3883] Unexpected exception:…
Xray25
  • 115
  • 13
0
votes
2 answers

Xamarin Forms Intellisense breaks if Form Views are moved to its own project in Visual Studio for Mac

As the title says, I moved my Xamarin Forms Views (XAML) to its own Project (Project.Forms.UI) so that I could keep the Project.Core clean and not have a dependency on the Xamarin.Forms nuget. The other reason is to that I can have multiple UI…
RogerW
  • 476
  • 7
  • 9
0
votes
1 answer

visual studio mac, locals is empty when running code

I am using visual studio mac and am having trouble setting it up, I have opened the locals debugging pad but whenever I run my code the locals pad remains blank, I'm trying to view my lists and arrays. Does anyone know this is happening and what the…
0
votes
0 answers

How to install Visual Studio for Mac from Terminal (Mac OS)

I would like to install Visual Studio for Mac on ssh. Therefore, I have to use Terminal for the installation. I download the .dmg file and copy it from local computer to ssh. Then, I follow this link, but it doesn't work. I still can't use 'mcs'…
Phannakan
  • 81
  • 1
  • 9
0
votes
3 answers

Mac Visual Studio Xamarin - the type or namespace 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

On Mac Visual Studio - Xamarin Project, I get an error: the type or namespace 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference) I have tried to resolve it by using the nuget package manager. Specifically,…
0
votes
1 answer

Xamrin iOS - AOT compilation fails from mac but builds fine from pc

I created that simple xamarin forms app (with just iOS). It does nothing but referencing that signalr nuget package. When I build Debug | iPhone from Visual Studio on my pc (connected to my mac), it builds fine and especially does AOT compilation…
0
votes
1 answer

The "VsInstallRoot" parameter is not supported by the "XamarinBuildAndroidAarRestore" task

I've got a Xamarin.Forms app and when I try to build the Android app I get the following compile time error: Target _XamarinAndroidBuildAarRestore: /packages/Xamarin.Build.Download.0.4.9/build/Xamarin.Build.Download.targets(120,4): error MSB4064:…
Austin
  • 4,638
  • 7
  • 41
  • 60
0
votes
0 answers

Visual Studio for Mac UI bug

I have a visual bug in my Visual Studio for Mac: an info line at the top of UI. Does anyone had the same issue with VS for Mac and is there any way to fix this? You can see this info line at screenshots below
Taras Shevchuk
  • 326
  • 3
  • 14
0
votes
1 answer

Adding Service causes Deployment failed

I'm working on an application using Xamarin and MvvmCross framework. As I need to make the remote api call every x hours, I'm trying to implement JobScheduler. I started with adding this class: using Android.App; using Android.App.Job; namespace…
0
votes
0 answers

Where to find package dependencies in Visual Studio For Mac?

When I add a nuget package like EntityFramework, where is the package listed? That is, what file? I thought it would be in my .csproj file but it does not seem to be. Package.json is of course gone. I can see it listed in files in my bin and obj…
Peter Kellner
  • 14,748
  • 25
  • 102
  • 188
0
votes
1 answer

Visual Studio for Mac & .NET Core Web API with Docker

I just got a MacBook Pro and am trying to run a dotnet core web api project I created on my Windows PC. I also am learning how to use Docker and am trying to integrate it into my project. When I right click on my API project and hit Add > Docker…