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

Struggling to get started in Visual Studio and Xcode - "undefined symbol _main"

I am a beginner when it comes to coding, and I have been struggling with a very annoying problem this entire day. I hope you can help me relieve this awful headache. My idea is to create a very simple app for my Mac, so I downloaded Visual Studio…
-1
votes
1 answer

What's the shortcut to build a project using a MAC + VM?

I'm using Mac+ a VM and I would like a shortcut equivalent to f5 on a PC so that I'm able to speed up my workflow.. Thanks! f5 does nothing (can I map it somehow?) Command + f5 doesn't work either.
-1
votes
1 answer

Problems connecting to local MySQL server

I have problems connecting to a local MySQL database. I made sure the server is running and i can connect to the server using the user and password from the connection string and create databases with the terminal. I'm using visual studio community…
-1
votes
1 answer

How to install a missing Xamarin SDK for an existing installation of Visual Studio for Mac?

I want to develop a Mac app using Xamarin. However, when I open the New Project wizard, the Mac templates are nowhere to be found. I saw "Missing Project Templates for Mac Apps" on the Xamarin forum, but I could not find much else about this topic…
grooveplex
  • 2,492
  • 4
  • 28
  • 30
-1
votes
1 answer

How to enable code outlining in Visual studio for Mac

As like the native code outlining in the VS code editor, how to enable it in VS for mac?
Sankarann
  • 2,625
  • 4
  • 22
  • 59
-1
votes
1 answer

How do i get Physical Address of a mac os x device by using c#

I am using visual studio for mac using c#. I have tried system.net.networkinformation but it gives me blank string. foreach (NetworkInterface nic in NetworkInterface.GetAllNetworkInterfaces()) { if (nic.OperationalStatus…
-1
votes
1 answer

How do you connect a .Net Core 2 Api on Mac Visual Studio to a SQL Server running on a remote Windows machine?

I have a .Net Core Api with a simple GetAllUsers route running on my Mac. I would like to connect the Api to the SQL Server I have running on a Windows VM via Dapper or Entity Framework. I have searched far and wide, so any suggestions as to where I…
Skysmithio
  • 91
  • 1
  • 4
-1
votes
1 answer

VS For Mac Multiplatform Project References

I am in the process of reworking a .Net Windows app in VS for Mac since I no longer have a PC. I want to have two projects: a Mac specific UI project and a multiplatform Core project. I can't figure out what kind of project I need to add to get…
Alex311
  • 378
  • 3
  • 12
-1
votes
1 answer

Can I use MAMP with Visual Studio for Mac?

Installed Visual Studio for Mac. Can I use MAMP, since SQL Server is not available for mac?
-2
votes
1 answer

Problem with building paths iOS v MacOs in Xamarin Forms app

I have this code: var myDocuments = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "..", "Shared"); _rootPath = Path.Combine(myDocuments, "VisitsRota.MacOS"); _stylesPath = Path.Combine(_rootPath,…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
1 2 3
69
70