Skip to content

Cannot install Nuget.Common in csproj #2635

Closed

Description

@natemcmaster

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

Activity

  1. added this to the 3.5 RC milestone on Apr 21, 2016
  2. rrelyea commented on Apr 21, 2016

    @rrelyea
    Contributor

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

  3. natemcmaster commented on Apr 21, 2016

    @natemcmaster
    Author

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

  4. modified the milestones: 3.5 Beta, 3.5 RC on Apr 21, 2016
  5. jainaashish commented on Apr 25, 2016

    @jainaashish
  6. natemcmaster commented on Apr 25, 2016

    @natemcmaster
    Author

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

  7. zhili1208 commented on May 11, 2016

    @zhili1208
    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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions