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

Migrate to Xamarin.IOS Unified API

Recently i got a project which was build on Xamarin on Mac.Now, when i try to open this project on visual studio for MAC (As you all know Xamarin is now visual studio for MAC) it shows some errors regarding Monotouch. The question is : Do i really…
Zaeem Sattar
  • 990
  • 2
  • 12
  • 30
0
votes
1 answer

VS shows fixed exception

I have a simple project with one page which contains default controls. I made a typo and wrote Binging instead of Binding. I got a run-time exception with this typo. I fixed it and restarted the app. But I get the exception with this typo each time…
Eugene
  • 53
  • 7
0
votes
1 answer

How to connect to remote SQL Server from Visual Studio for Mac?

This piece of code executes just fine on Visual Studio 2017 and .NET Core v1.1, but the connection times out on Visual Studio for Mac. using System; using System.Data.SqlClient; using System.Data; namespace test_console_app { class Program …
0
votes
1 answer

Export Mac App From Windows Solution

I recently installed Visual Studio For Mac and was expecting I would need to rewrite an exe I wrote in C# for Windows. Surprisingly, I opened the Windows solution in VS Mac and it ran without issue. The problem is, building the solution still…
Alex311
  • 378
  • 3
  • 12
0
votes
1 answer

Can't create organization identifier Visual Studio mac

I have installed Visual Studio 2017 Community for Mac and I am trying to create a new Native App project. I click on New Project, select Native App and then select Next and it asks me for an App Name and Organization identifier. After adding an app…
irldev
  • 409
  • 2
  • 8
  • 21
0
votes
1 answer

Can't add Apple developer account VS mac 2017

I am trying to add my Apple developer account to Visual studio. In Preferences > "Apple Development Accounts" I click on the plus icon and Visual studio redirects me to fastlane. I can add the account, and it asks for the permissions. I click on…
0
votes
0 answers

"type does not exist in the namespace" error even though I added a project reference

I have a Visual Studio Mac solution solution with 2 projects - a NUnit test project and a .net standard library. I am getting compile-time errors in my test project referencing members from the .net standard library project. I've added a project…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

Error in Running Web App On Mac Visual Studio

I am new to Visual Studio. I have downloaded a web app from Azure Multi-tenant. But when I am trying to run the app, I receive the following error message:…
Gagan_iOS
  • 3,638
  • 3
  • 32
  • 51
0
votes
2 answers

Previously working Xamarin iOS project doesn't build and gives MSB6006 Error

When I try to build my Xamarin iOS project, I get this error: /Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets(5,5): Error MSB6006: "csc.exe" exited with code 1. (MSB6006) Seems…
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
0
votes
2 answers

TypeLoadException with DocumentClient on Visual Studio Mac

I downloaded the getting started sample app from Azure Cosmos DB and am getting the following error with Visual Studio Mac System.TypeLoadException: Could not resolve type with token 010000f6 (from typeref, class/assembly…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

Nexus 7 tablet won't enter debugging mode on visual studio for MAC xamarin

what can I do to get my tablet to enter debugging mode when I connect to my macbook pro. it was fine two days ago, but now when I connect it, it only charges and I can't get it to enter debugging mode so I can run my app that I am developing on it.…
james.d_12
  • 57
  • 8
0
votes
0 answers

MonoDevelop blocks Visual Studio login on Mac OS

I would like to switch over from Xamarin Studio to Visual Studio for Mac however I can't log in to my Visual Studio Enterprise account in Visual Studio for Mac. This means that I am using the community version which has various limitations. I am…
fireydude
  • 1,181
  • 10
  • 23
0
votes
1 answer

VS4M install failing with 404 error

Error downloading from Xamarin server. Visual Studio for Mac Preview. The remote server returned an error: (404) Not Found. Exception type: System.Net.WebException Message: The remote server returned an error: (404) Not Found. at…
0
votes
1 answer

iPhone platform disappeared from configuration and build targets, can't add back unless i create a new solution

So I have an app that's about 2 years old, works fine. But I've been having a lot of issues with Xamarin Studio lately so i've completely re-built this solution in Visual Studio for Mac. All was good for about 2 days then suddenly something weird…
LampShade
  • 2,675
  • 5
  • 30
  • 60
0
votes
1 answer

WebView for mac app in "visual studio for mac"

I make the app for mac. The IDE which I use is the "Visual studio for MAC". I need to use the component, which can display web pages in this app, but "Visual studio for MAC" have no elements at the tool panel such as webView. How can add component,…