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

Deploy asp.net core website or console app using Visual Studio for Mac

I've found instructions for deploying directly to Azure, but not a lot for deploying to just a local folder. There doesn't seem to be anything under the menus or add-ons that seemed to do it either. Maybe it's a command line tool?
0
votes
1 answer

Azure mobile apps service - local debugging on MAC

Environment: VS 2017 MAC Professional I created an Azure Mobile App Quick Start application service. I appear to run and start the application without issues as I receive the This mobile app is up and running message. I am receiving Resource not…
PsychoDUCK
  • 1,103
  • 3
  • 17
  • 35
0
votes
2 answers

Visual Studio for mac project.json

When I use Visual Studio for Mac to create a web project with .Net core 1.1, there is no project.json in my project. Is there any mistake when I create this project?
0
votes
0 answers

Visual Studio for mac - loading existing branches using git

I installed visual studio for mac. I can clone a github repository, create new branches and revert to master without problems. The problem I have is when I'm using version control. I can see the log from the git project and all the comited…
jdlChicory
  • 79
  • 2
  • 12
0
votes
0 answers

In Visual Studio for Mac and Xamarin Studio, the Android option in the target platform is disabled even when SDKs were installed

I have downloaded and installed several android SDKs on my mac. I can use these SDKs when I code in Android studio, but when trying to build cross-platform apps through Visual Studio for Mac and Xamarin Studio, the Android option under Target…
Kaze Notus
  • 37
  • 1
  • 8
0
votes
1 answer

Adding .png File to Xamarin IOS project Crashes Build

I am working on a Xamarin IOS project and just created a .png file that I want to display in the app. When I add the image to the Resources folder the app no longer builds and displays the following error:…
0
votes
1 answer

Reference .net core 2.0 into a .net 45/46 project

How can I add a reference of a .Net Core 2.0 project into my .Net 46 project? My project is structured as follow: Solution - Data Project (.Net Core 2.0) - Test Project (.Net 46) I'm trying to reference the Data Project into my Test Project as I…
0
votes
1 answer

Xamarin/Visual studio for Mac: axml file does not appear in intellisense Class file and throw error on build

Hi everyone I'm writing a app on Visual studio for Mac/Xamarin with C# and I'm trying to add my axml file(Layout) named "Dialog_SignUp" into my class to call it but I don't understand why my intellisense does not recognize it and when I try to…
Nehoss
  • 33
  • 5
0
votes
1 answer

Unable to add MySQL Data Nuget package to ASP Core Project

I am trying to add the MySQL Data Nuget package to my ASP Web Core project, but I get this error: One or more packages are incompatible with .NETCoreApp,Version=v1.1 (win-x86). I am using Visual Studio for Mac. Here's the full error log I…
Jay
  • 4,873
  • 7
  • 72
  • 137
0
votes
0 answers

Bug in Visual studio 2017, Android view inflateexception

I spent almost all day trying to figure it out I am not able to do so . My project is all good when I deploy it in release mode when I try debug mode it just throws exception . things I have tried in debug mode . 1 ) cleaned bin and debug and then…
Saket Kumar
  • 1,157
  • 2
  • 14
  • 30
0
votes
2 answers

How to Implement a Data Model in C# and Visual Studio for Mac?

I'm coming from the world of Xcode where working with SQLite is not necessary since they provide CoreData to make it easier to deal with Entities and Attributes. So in my try to create a data model without using the GUI for doing that I'm lost. The…
Fotios Tragopoulos
  • 449
  • 1
  • 7
  • 24
0
votes
0 answers

Editing an exitsting Angular project in Visual Studio 2017 for Mac

I'm trying to open and edit an existing Angular 2 project in Visual Studio 2017 for Mac. In VS 2017 for Windows you just do the "Open Folder" as i understand. However cant find the "open folder" in Vs2017 for Mac. I have Visual Studio Code and it…
Greg
  • 25
  • 3
0
votes
2 answers

"Add Docker support" menu choice is missing from Visual Studio Mac IDE

I'm using Visual Studio Mac to build a .NET Core MVC web application that I want to run in a Docker container. The solution compile and run correctly, but when I try to add the Docker support, from the solutions menu, the choice "Add Docker support"…
0
votes
1 answer

Visual Studio in OSX: Installing Android SDK Platform-Tools v26.0.0 failed

I'm trying to compile to Android using Unity3D. The normal procedure is installing Android Studio. However I want to use Visual Studio Community (Preferences -> SDK Locations -> Android) to avoid downloading Android Studio because I do not plan to…
0
votes
1 answer

Can't edit TS files in VS for Mac

I'm trying to make a SPA with .Net Core and Angular. So I followed this tutorial: Microsoft It runs perfectly. Even if I open the solution in VS4Mac. The problem is that I can't edit the typescript files. I've searched everywhere! I have the latest…
Rui Silva
  • 413
  • 1
  • 5
  • 12