Created
May 8, 2012 16:18
-
-
Save andypiper/2636885 to your computer and use it in GitHub Desktop.
nuget for OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# add a simple 'nuget' command to Mac OS X under Mono | |
# get NuGet.exe binary from http://nuget.codeplex.com/releases/view/58939 | |
# get Microsoft.Build.dll from a Windows .NET 4.0 installation | |
# copy to /usr/local/bin and Robert is your father's brother.... | |
# | |
PATH=/usr/local/bin:$PATH | |
mono --runtime=v4.0 /usr/local/bin/NuGet.exe $* |
On MacOS the command "dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL --version 2.0.0"
gives the error for me "error: Unable to find package Npgsql.EntityFrameworkCore.PostgreSQL with version (>= 2.0.0)"
Could you please advise how to solve it?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
great job,thx!