Visual Studio For Mac Package Manager Console

Visual studio 2017 package manager

Package Manager Console Visual Studio 2017

Hello,

I’m following this tutorial to get caught up to speed with .Net Core. I want to build a simple CRUD API that talks to a sql database.

I’m stuck in this part here. https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/new-db#create-the-database

I’m not sure where to find the package manager console in Visual Studio for Mac. I’ve tried installing the NuGet Package Management Extension but that still does not let me run the commands written in the guide I linked above.

Can anyone help me with this?

I presume the UI package manager's initial step (listing available packages) is equivalent to Get-Package, so this seems to suggest a general issue with searching for packages rather than installing packages. Extension for Visual Studio - A collection of tools to automate the process of downloading, installing, upgrading, configuring, and removing packages from a VS Project.

submitted by /u/Ocelot2_0
[link][comments]

Active2 years, 7 months ago

I am trying to install Win2D in visual studio. I ran the the following in the nuget package manager console:

I get the following error:

I just installed Visual Studio Community 2013 today so I should the newest version. What am I doing wrong?

gloogloo

2 Answers

Microsoft Visual Studio For Mac

It is the other way around.

You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework.

This lists two facts:

Visual studio for mac package manager console
  1. Your project is .NET 4.5 based.
  2. The package ('Win2D 0.0.10') is incompatible with .NET 4.5.

Therefore you need to target a compatible version of .NET or ask the package's author to support it.

Tamara WijsmanTamara Wijsman

Package Manager Console Commands

51k25 gold badges166 silver badges248 bronze badges

It seems they only target WinRT (metro / phone apps). You won't be able to use it on regular desktop projects.

toster-cxtoster-cx

Not the answer you're looking for? Browse other questions tagged visual-studiopackage-management or ask your own question.