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

Run app on iOS device in Visual Studio for Mac

I have problem with running my iOS app (Monogame) on my physical iPhone X device in Visual Studio for Mac (former Xamarin Studio). I can test it in emulator, but I don't see option for physical device in list of devices. If I try to create an app…
Earlgray
  • 647
  • 1
  • 8
  • 31
3
votes
1 answer

ASP.Net Async MVC controller function causes Razor View Engine error

I am having issues with an asynchronous ASP.Net MVC controller method. I have a controller with one view that returns on a HttpGet to '/home' route. It works fine synchronously, but i wanted to test some of my database functionality so i changed it…
Jake Leveroni
  • 102
  • 1
  • 9
3
votes
1 answer

Add Service Reference in .NET Core in Visual Studio for Mac

As far as I know, in Windows I was able to add a service reference in a .NET Core project in Visual Studio 2017 by installing the Visual Studio WCF Connected Service, but I wasn't able to find that same extension in Visual Studio for Mac. Is there…
3
votes
2 answers

"Visual Studio for Mac" Code Completion Barely Working In Xamarin.Android

I'm using "Visual Studio for Mac" and the code completion for Xamarin.Android is terrible. Here's a screenshot of me trying to add some menu code to my MainActivity.cs. When I finish typing everything, the compiler does not complain but the lack of…
n4rush0
  • 119
  • 1
  • 2
  • 8
3
votes
1 answer

Publish/Web Deploy for Mac Visual Studio Community

Is there a way to Publish ASP.NET Core WebApp to a local folder and not just the forced default to Azure? I looked around and can't find any information on that.
3
votes
0 answers

Xamarin : Visual Studio Mac changes RESX from Visual Studio Windows

Visual studio on Mac changes me the RESX file that was created in Visual studio on Windows.How can I block this? Widnows "-" Mac "+" /// - /// A strongly-typed resource class, for looking up localized strings, etc. - ///…
user3441937
3
votes
2 answers

Can I use mono64 with Visual Studio for Mac?

I'm new to Mono development (but not .NET development) - got as far as downloading Visual Studio for Mac and trying to run a sample solution from Alea GPU. It complains that it needs mono64, but I see no option for selecting 64 bit architecture like…
see sharper
  • 11,505
  • 8
  • 46
  • 65
3
votes
0 answers

Azure DocumentClient initialization throws System.TypeLoad Exception

Update (Latest): Issue resolved. There's nothing wrong with my code. The error is thrown by System.Mono. I was able to run my app after moving my project to a windows machine. Note: MS.Azure.DocumentDB (v1.14) is built on top of NewtonJson…
Phoenix Yu
  • 61
  • 4
3
votes
1 answer

You must be logged-in to download this component, despite being signed in

I'm using Visual Studio for Mac (typically I use Xamarin Studio on my Mac) for iOS and Android development. I'm trying to create a new solution and add "Components" to my solution. I'm signed in to my Microsoft account but it's saying "You must be…
LampShade
  • 2,675
  • 5
  • 30
  • 60
3
votes
0 answers

Task Runner Explorer for "Visual Studio for Mac"

I have a solution for multiple .Net Core projects and I am using a Windows VM in order to use VS2017 IDE. I just got the brand new Visual Studio for Mac Release (ver 7.0). I'm trying to switch to this IDE but something is missing in it : the Task…
Xavierh
  • 431
  • 5
  • 14
3
votes
0 answers

How to take photo continuously using XLabs

Currently I'm developing a cross-platform app using Shared Library that able to take photos. I'm using XLabs.Forms V2.0.5782 package to do this app. I successfully developed this simple app but it only allows me to take one picture at a time. I…
3
votes
1 answer

Does Visual Studio for Mac Preview have Web Deploy?

I am new to using a Mac and trying to setup a coworking to publish a shared .net core web app so that it publishes to the azure account. I have downloaded the azure publishing profile but do not see Publish or Web Deploy in the GUI. How do I deploy…
masteroleary
  • 1,014
  • 2
  • 16
  • 33
3
votes
3 answers

Nuget package restore failed Microsoft.Composition 1.0.27

I am using visual studio mac with latest .Net Core SDK on mac. In visual studio 2017 RC on windows everything is ok, but when i try to restore nuget packages on mac with visual studio mac it throws me error. Package Microsoft.Composition 1.0.27 is…
3
votes
1 answer

VS MAC (Preview) : Project could not import WebApplication.targets

I am trying to build a MVC project on OS X 10.12 using Visual Studio MAC (preview). I used git to transfer the source code from Windows to Mac OS X. I restored all the nuget packages successfully, but when I try to build the project I get a…
Haroon Yousuf
  • 504
  • 4
  • 9
3
votes
1 answer

Visual studio for Mac missing Toolbox items

Hi I've just installed Visual Studio for Mac. I've created a new solution/project (ASP.NET Core Empty Web Application), but for some reason I'm missing drag/drop items from the Toolbox. Any suggestions why its empty? Thanks :)
Michael Falck Wedelgård
  • 2,943
  • 1
  • 27
  • 39