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

Comments

Projects
None yet
4 participants
@natemcmaster

natemcmaster commented Apr 21, 2016

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"?

@natemcmaster natemcmaster referenced this issue Apr 21, 2016

Merged

Refactor design-time tools #5142

7 of 7 tasks complete

@rrelyea rrelyea added this to the 3.5 RC milestone Apr 21, 2016

@rrelyea

This comment has been minimized.

Show comment
Hide comment
@rrelyea

rrelyea Apr 21, 2016

Contributor

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

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

This comment has been minimized.

Show comment
Hide comment
@natemcmaster

natemcmaster Apr 21, 2016

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

natemcmaster commented Apr 21, 2016

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

@jainaashish

This comment has been minimized.

Show comment
Hide comment
Contributor

jainaashish commented Apr 25, 2016

@natemcmaster

This comment has been minimized.

Show comment
Hide comment
@natemcmaster

natemcmaster Apr 25, 2016

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

natemcmaster commented Apr 25, 2016

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

@zhili1208

This comment has been minimized.

Show comment
Hide comment
@zhili1208

zhili1208 May 11, 2016

Contributor

Verified fixed with 3.5.0-beta (build 3.5.0.1249)

Contributor

zhili1208 commented May 11, 2016

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