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

Visual Studio for Mac azure remote debugging on Mac OS X

The matter is pretty simple: I'm on Visual Studio for Mac on Mac OS X Sierra, everything works perfectly and the deploy on Azure is great. The problem comes when I need to debug some odd error on the deployed remote app since it doesn't happen…
5
votes
0 answers

Visual Studio mac, how to debug client side javascript?

I'm trying Visual Studio Community for Mac, release April 2017 (not Visual Studio Code,) and can't get the client side Javascript debugger to work. dotnet core C# backend debug works fine, but front-end javascript breakpoints are ignored. Using…
O'Beron
  • 51
  • 2
5
votes
2 answers

sample.xcodeproj cannot be opened because the project file cannot be parsed. while opening the Xib file in Xcode interface builder

I am developing an app in Xamarin using Visual Studio for Mac. When I try to open a .xib (or any other interface builder file) in Xcode(8.3) interface builder for designing, I get the error sample.xcodeproj cannot be opened because the project file…
5
votes
2 answers

External Terminal / Debug outside the IDE

I'm starting to use Xamarin Studio, and migrating from VS to it, but when I try to run a console application (the unique one loaded at the moment), fails and throws an exception in Console.Clear() (Supposing I can't do that in an integrated…
TheCrimulo
  • 433
  • 1
  • 4
  • 14
4
votes
0 answers

Unable to find SDK Microsoft.NET.Sdk in Visual Studio for Mac 17.5 Preview

I get this error message when I want to create a new MonoGame iOS project from a template in VS 2022 for Mac 17.5 Preview: What is missing in Preferences? What should I install?
harry_mitch
  • 77
  • 1
  • 8
4
votes
2 answers

Xamarin.Mac: MMP : error MM5309: Failed to execute the tool 'clang'

Since macOS has been upgraded, I upgraded all development environments (Xcode, etc.) and wanted to build with an existing macOS application software project, but I get the following 2 errors and cannot build. macOS Ventura (13.0) Xcode 14.1 Visual…
hibara
  • 137
  • 11
4
votes
0 answers

Why isn't F# Interactive displaying line of code after "send selection to F# Interactive" is clicked?

I am new to F# and Visual Studio. I am following the F# tutorial provided by Visual Studio and the project runs fine, but whenever I try to highlight a line of code and perform "Send selection to F# Interactive" the window pulls up but nothing…
4
votes
4 answers

Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

I updated my XCode to XCode 13 for make test my Xamarin.iOS app on ios 15 devices. I updated visual studio for mac app to version 8.10.9 After this updating, I opened my app in visual studio for mac but when I try to choose devices, I can't see…
4
votes
1 answer

How to set default simulation device in Visual Studio?

Everytime I launch the simulator in VS it defaults to an iPod! How can I specify a particular iOS device as the default, so that I don't have to change it manually every session?
4
votes
1 answer

Upgrading a Xamarin .net standard 2.0 solution to .net core or .net 5 options / path?

We have a .net standard 2.0 Xamarin solution with iOS and Android projects. On a slightly unrelated note, I've been trying unsuccessfully to fix some warnings, which recommends upgrading .net core. However, I'm not sure .net core is the right option…
Jules
  • 7,568
  • 14
  • 102
  • 186
4
votes
1 answer

Resolving warning NETSDK1138: The target framework 'netcoreapp3.0' is out of support

I am trying to build this project in Visual Studio for Mac: https://github.com/macNetCore/CodeBook/tree/master/Chapter5/configProgram During compilation I receive a…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
4
votes
3 answers

Xamarin - ITMS-90683: Missing Purpose String in Info.plist

I'm developing an app using Xamarin Forms (Android and iOS). I have the first app version ready, and I'm trying to upload it to TestFlight in order to test the app with different users. In order to reduce the ipa size, I'm setting the linker…
Dani Garcia
  • 464
  • 1
  • 6
  • 18
4
votes
1 answer

Missing 'Manage User Secrets' context menu item on Visual Studio for Mac

I've been told to manage user secrets on a .net core project, however the context menu item for this seems to be missing in visual studio for Mac? Is it in a different place to windows? Or is there something additional to install etc? Note: It also…
Web Develop Wolf
  • 5,996
  • 12
  • 52
  • 101
4
votes
1 answer

ICommandHandler not executing for SaveCommandArgs (Visual Studio for Mac Extension)

I'm trying to create simple extension for Visual Studio for Mac which will handle the moment when user saves the document (sample project is on GitHub, right here). Here's how looks my implementation of…
Taras Shevchuk
  • 326
  • 3
  • 14
4
votes
1 answer

The imported project "Xamarin.iOS.CSharp.targets" was not found error - Visual Studio 7 - Mac

I am working on a Xamarin.Forms project with Visual Studio 2017 Professional with Windows machine. Also, I am using a Mac to build and run the iOS app by pairing the Mac with VS 2017. Sometimes Visual Studio on Mac is also used to build and run the…
Tharindu
  • 386
  • 3
  • 17