Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Nuget.Common in csproj #2635

Closed
natemcmaster opened this issue Apr 21, 2016 · 6 comments
Closed

Cannot install Nuget.Common in csproj #2635

natemcmaster opened this issue Apr 21, 2016 · 6 comments
Assignees
Labels
Milestone

Comments

@natemcmaster
Copy link

This does not work on a csproj (ironically)

Install-Package Nuget.Common -Pre -Source https://www.myget.org/F/aspnetcirelease/
Install-Package : Failed to add reference to 'System.Runtime'. Please make sure that it is in the Global Assembly Cache.
At line:1 char:1
+ Install-Package Microsoft.EntityFrameworkCore.Tools -Pre -Source C:\U ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

https://github.com/NuGet/NuGet.Client/blob/2e9de8ec7fe9fd5de4d2b608eb5cedb92d046458/src/NuGet.Core/NuGet.Common/project.json#L20-L24
If I'm not mistaken, shouldn't these be "type": "build"?

@rrelyea
Copy link
Contributor

rrelyea commented Apr 21, 2016

these should be removed if possible...other wise changing all 5 of those to type : build would be right.
/cc @emgarten

@natemcmaster
Copy link
Author

Can we get this in ASAP? This is blocking Entity Framework's design-time tools for RC2. cref dotnet/efcore#5142

@jainaashish
Copy link
Contributor

NuGet/NuGet.Client#524

@natemcmaster
Copy link
Author

Thanks @jainaashish Is there a public feed for consuming these latest builds?

@zhili1208
Copy link
Contributor

Verified fixed with 3.5.0-beta (build 3.5.0.1249)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants