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

Visual Studio Mac Error ! Custom Command Execution Failed

I recently updated my Visual Studio for Mac and getting an error after build as "Custom Command execution failed". Any help appreciated !
DevMonk
  • 427
  • 1
  • 9
  • 23
0
votes
0 answers

Accidentally did a Visual Studio "Update" and lost all my changes. Are they gone forever?

I'm using Visual Studio on the Mac and am new to Git. It seems that after making a lot of changes to my code, that I lost everything I did this morning after doing an "update" (I think, I accidentally clicked on it instead of commit) Are my changes…
TLDR
  • 1,198
  • 1
  • 12
  • 31
0
votes
1 answer

Does Visual Studio for Mac support debugging iOS app with Distribution profile?

I am able to debug iOS app (developed in Xamarin.iOS) with Distribution profile. However Xcode does not support debugging with Distribution profile. As per Apple docs debugging is not supported via distribution profile. How is Visual Studio…
subin272
  • 733
  • 6
  • 24
0
votes
1 answer

This bundle is invalid - The Info.plist file for PersonalizedAdConsent.framework is missing or could not be read

The title error is what gets emailed after uploading the ipa via the application loader and below is the error that occurs in debug mode: ERROR: "The framework APPNAME.app/Frameworks/PersonalizedAdConsent.framework does not contain a binary…
Vegeta ZA
  • 70
  • 4
  • 16
0
votes
1 answer

TFS on Visual Studio Mac

I have installed visual studio mac on my mac. I have installed the tfs extension on visual studio mac. I have connected to the tfs server in our server in office. It successfully connected and it display the collection. BUT it says it has 0…
smoothumut
  • 3,423
  • 1
  • 25
  • 35
0
votes
2 answers

Xamarin.Forms iOS crash on XAML pages with custom controls

I am working on a Xamarin.Forms project, for which I recently upgraded the shared projects from PCL to .NETStandard. At that point, I encountered build issues coming from several of my UI XAML files, with the error being: Failed to resolve…
0
votes
2 answers

Xamarin Android "app not installed the package appears to be corrupt" when installing a release build apk

Updated Information: I am now discovering that this only seems to be an issue on Android 7 and up. I have multiple devices, and the apk will install on my 6.0.1 Nexus 5. But the Galaxy Tab S2 on 7.0 and the Pixel XL on 9.0 both get this error. After…
Sev
  • 883
  • 1
  • 14
  • 34
0
votes
1 answer

VS for Mac unable to add .NET Standard NuGet

I have encountered a weird behavior with VS for Mac. This is how I repro it: Built a .NET Standard 2.0 NuGet package using VS2017. Package is called "MobileApps.Auth 1.0.0" Pushed the NuGet to our company NuGet server Switched over to the Mac and…
Jonas Rembratt
  • 1,550
  • 3
  • 17
  • 39
0
votes
0 answers

What are the release / debug sub configurations for?

In Visual Studio Mac / Xamarin Studio there's a drop down menu inbetween the device picker and the platform picker. This is it... Apart from selecting release or debug, what do all the different versions do? And, in particular, why am I able to…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
0
votes
1 answer

VS 2017 for Mac Azure Function Unable to configure java worker. Could not find JAVA_HOME app setting

I am in the process of creating an Azure Function Apps project. I get the following error when running the server. Hosting environment: Production Content root…
0
votes
1 answer

On .NET Core 2, Mac OS, Visual Studio for Mac using MySQL: ArgumentOutOfRangeException: Length cannot be less than zero

I'm suffering to do an simple test on .NET Core on MacOS. I created a table on MySQL: CREATE TABLE USER ( ID BIGINT(20) NOT NULL AUTO_INCREMENT, USERNAME VARCHAR(50) NOT NULL, FIRSTNAME VARCHAR(50) NOT NULL, …
Jean J. Michel
  • 561
  • 1
  • 7
  • 14
0
votes
1 answer

Visual Studio for Mac connecting to VSTS Projects

I am having some difficulties trying to get Visual Studio for Mac to connect to my VSTS projects through my Visual Studio monthly plan. I have followed this guide: https://learn.microsoft.com/en-us/visualstudio/mac/tf-version-control I got the…
Ethosik
  • 401
  • 1
  • 4
  • 9
0
votes
1 answer

Device showing as disabled while trying to instrument the app + Xamarin.iOS

I am trying to instrument an app by connecting the device to Visual Studio Community for Mac (version 7.3.3). I am able to install and run the app in device, but when instrumenting its showing as disabled.
0
votes
1 answer

How to create Console App for ASP.NET Core in Visual Studio For Mac

I don't see an equivalent way to create a console app in Visual Studio for the Mac. That is, the equivalent of dotnet new console When I want asp.net core does not seem to show up as an option. I'm assuming I've missed it since it's kind of a basic…
Peter Kellner
  • 14,748
  • 25
  • 102
  • 188
0
votes
1 answer

Cshtml file getting frozen

After a couple of times changing and saving a .cshtml file, the view starts to get frozen. I recorded a video, you can check it right here. Does anybody know how to solve it?
Natan Dutra
  • 65
  • 1
  • 9