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

Xamarin.IOS Wireless Deploy to IDevice

I was interested to see this in the release notes :) https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-mac-relnotes Wireless deployment and debugging for Xamarin.iOS. But my phone would only show up when plugged in via USB! How to…
WickedW
  • 2,331
  • 4
  • 24
  • 54
0
votes
1 answer

Data Annotation not found in .NET Standard Library in Mac Visual Studio(Community Version 2017)

I am working on a Xamarin.Forms application. Every thing was compiling and running before but then another developer who works on Visual Studio Windows version added DataAnnotation to project for validation. Since then I am getting compile time…
0
votes
1 answer

How can I run a visual studio project from the mac command line?

I have a visual studio project that generates an exe file. I can run this project from within Visual Studio Community for Mac simply by clicking Run for the Release or Debug configurations. I need to be able to do this from the command line. I've…
Ginger McMurray
  • 1,275
  • 2
  • 20
  • 42
0
votes
1 answer

Xamarin.iOS MvvmCross template; can't open storyboard

I get the following error when I attempt to open a storyboard for a project I created from the "MvvmCross Single Page Native Application" template: "Project /Users/username/Desktop/MyProject.iOS/obj/Xcode/0/MyProject.iOS.xcodeproj cannot be opened…
0
votes
1 answer

iPhone: Visual Studio for Mac - Automatic signing failed: There are no current devices on this team matching the provided device IDs

I am developing an iPhone App on a MacBook Pro, using Visual Studio Community for Mac latest version. I want to publish an app to App Store and currently at the stage of doing an Automatic Signing. And this end with the following error…
mjb
  • 7,649
  • 8
  • 44
  • 60
0
votes
0 answers

Multiple prompts for password when updating Visual Studio for Mac

When updating Visual Studio for Mac, VS prompts me for an "administrator" password. That's fine. It does so several times. That's not that bad. It does so only when it gets to the point it needs it. That's bad. Why? Because that means I have to be…
ispiro
  • 26,556
  • 38
  • 136
  • 291
0
votes
1 answer

Can't import an existing keystore on VisualStudio for Mac

I need to import an existing keystore in Visual Studio for sign and distribute an android application. When I try to import a keystore after insert the correct password I've got an error and nothing happened. Below some image of the error. The page…
0
votes
1 answer

Login to Microsoft Graph API from Mac (Xamarin)

I'm trying to connect my Mac App (written in c# / Visual Studio for Mac) to the Graph API from Microsoft. On Windows, I can use the ADAL and perform an operation like: PublicClientApplication myApp = new PublicClientApplication(MYID); …
Ziba Leah
  • 2,484
  • 7
  • 41
  • 60
0
votes
1 answer

Why is .NET Framework a valid build target when using VS for Mac

Using Visual Studio for Mac 7.3.3, why am I able to create solutions that target .NET Framework 4.x? Reproduction steps: (file->new solution->other->.NET->Console Project) or (file->new solution->other->.NET->asp.net MVC Project) Right click the…
Anonymous
  • 739
  • 7
  • 15
0
votes
0 answers

Proper way to have shared resources across platforms in Xamarin.Forms?

I have a .NET standard platform project and two target projects in the same solution, one for each target platform (iOS and Android). The problem is that currently I have to maintain in parallel two sets of duplicated raw assets (.ttf and .db3…
rraallvv
  • 2,875
  • 6
  • 30
  • 67
0
votes
0 answers

App icon doesn't match "recent apps" icon

Working on Visual Studio for Mac. I put new icon into the drawables and set the manifest appicon onto this resource. When I launch the app everything is correct in the menu, but the icon doesn't change in "recent apps" window. I tried to delete…
Gniewomir
  • 109
  • 11
0
votes
1 answer

Error while trying to scaffold a model Visual Studio for Mac

I'm using Visual Studio for MAC version 7.3.2 (build 12) and I'm trying to follow this tutorial from microsoft: https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages-mac/model I have followed every step but I'm getting this error:…
0
votes
0 answers

Xamarin app seems to be running same instance each time

I'm using xamarin in visual studio community for mac, a weird thing has come up the app seems to be running the same instance despite code changes, the reason I think this is I just changed appSetup to false and yet when I run the app and debug it…
Apple Geek
  • 1,121
  • 1
  • 10
  • 16
0
votes
2 answers

Xamarin iOS Submission Rejected, Call Kit features / API

Tried to submit my app to iTunes build using Visual Studio for Mac (version 7.3.2), iOS native (not Xamarin.Form). App got rejected with the following message: Where can the user find the Call Kit features within your app. If you do not intend to…
0
votes
1 answer

Visual Studio for Mac strips the Bundle Display Name from Info.plist (CFBundleDisplayName)

I have a Xamarin.iOS project utilizing both the CFBundleName and CFBundleDisplayName attributes in Info.plist. When I open my project in the Visual Studio for Mac and then open the Info.plist, the CFBundleDisplayName attribute gets stripped off…
Zverev Evgeniy
  • 3,643
  • 25
  • 42