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

Visual Studio (Mac) Could not add Entity Framework

I am trying to build a basic web app, and I want to connect it to a database. I have a heroku account so I started trying to get it hooked up to a Postgres DB and ran into issues around SSL and external connections. I tried to update my code and…
user1735894
  • 323
  • 4
  • 16
0
votes
0 answers

visual studio can't communicate with xcode

I have installed Visual Studio for mac and Xcode 7.3.1 I try to make a Cocoa app with Visual studio. When I try to open storybord from visual studio, I have this error: visual studio can't communicate with xcode Somebody can help me? Regards, Luca
Luke
  • 1
0
votes
2 answers

Without using CSC or Nuget, is it possible to use Powershell to add a reference to another project?

I have a library that I need added to 10 other projects in my solution. It's not on Nuget, and it's only local on my machine. Is there a Powershell approach (similar to Nuget Install-package ) that will allow me to add a specific reference to…
0
votes
1 answer

Specflow NUnit BDD framework

I had install VS for MAC , Also install specflow from Nuget package , but while creating new solution I did not find option to add specflow feature file etc.
cod
  • 151
  • 4
  • 13
0
votes
1 answer

Visual Studio for Mac and Xamarin Forms PCL - can't install NodaTime 2.0 with NuGet

I'd like to use NodaTime with Xamarin Forms in a PCL, however the NuGet install fails with this message: Could not install package 'NodaTime 2.0.0'. You are trying to install this package into a project that targets…
Alan
  • 3,715
  • 3
  • 39
  • 57
0
votes
2 answers

Extreme case of "Error retrieving parent for item"

My Xamarin Android project doesn't compile anymore, with a couple error messages saying Error APT0000: Error retrieving parent for item: No resource found that matches the given name 'Widget.Design.TabLayout' Other errors that were thrown…
0
votes
0 answers

How does development on Visual Studio for Mac work when my .NET Core application also targets .NET Framework?

I don't have a Mac, I'm just trying to understand what happens when a person using a Mac wants to contribute to my .NET Core console application if its .csproj looks like this:
user1676558
  • 403
  • 1
  • 6
  • 18
0
votes
1 answer

Where would I find the equivalent of the monodevelop executable for Visual Studio for Mac in?

I'm trying to debug a problem similar to the following (except with Visual Studio for Mac) in a similar manner: Monodevelop - runs only using sudo The root of my problem seems to be file permissions issues, as detailed here:…
Josh Russo
  • 3,080
  • 2
  • 41
  • 62
0
votes
0 answers

Why is the Azure TodoList giving me an 500 internal server error?

I'm trying to make an app via xamarin.forms with an Azure Backend(Via Visual Studio for Mac) I followed the tutorial to setup this environment ( https://learn.microsoft.com/en-gb/azure/app-service-mobile/app-service-mobile-xamarin-forms-get-started…
rvano
  • 97
  • 7
0
votes
1 answer

Developing .NETCore projects in Visual Studio for Mac and Windows

I'm trying to work on the same C# .NETCore codebase in both VS for mac and regular VS Enterprise 2015 (Windows). I made a .NETCore app in VS for Mac and tried to open the project in VS for Win, but the one-way project upgrade dialog appears in VS…
0
votes
3 answers

Can't debug some applications in Visual Studio for Mac

When creating a new console application (.Net core) in Visual Studio for Mac and I try to debug it, I get an error: Debugger operation failed Unable to start debugging. The type initializer for 'Crypto' threw an exception. This happens after…
linkerro
  • 5,318
  • 3
  • 25
  • 29
0
votes
1 answer

Mac Application from Gtk in Visual Studio Mac

Im very new in Mac development environment. I installed Visual Studio for Mac, and created a new solution .NET/Gtk 2.0 project to build a GUI file rename tool. I created the tool. However when I build it in debug and release, it generates .exe file…
ozimax06
  • 386
  • 3
  • 15
0
votes
1 answer

Resolver package for Xamarin Forms in Visual Studio for Mac

I am porting my app to use the newly release Visual Studio for Mac. When I create a new Xamarin Forms solution I no longer see the option to add a package to the shared project (only to the iOS project). This means that I cannot use the XLabs.Core…
0
votes
1 answer

Is it possible to run a Xamarin.UITests for Android to run on MAC with Visual Studio for MAC?

With the release of Visual Studio for Mac, is it possible to run Xamarin.UITests for Android on Mac?
Vijay Nag
  • 257
  • 2
  • 9
  • 21
0
votes
0 answers

How to add a SearchBar to the top of every page with Xamarin.Forms

I'm new to Xamarin/Visual Studio For Mac(Preview). I'm not new to C#. Im struggling with how to get a SearchBar in the header. Im using the Xamarin.CRM Sample from the Xamarin Website. It looks like theres a ViewModel that is binding the title to…
scouty
  • 145
  • 1
  • 10