Skip to content

Cannot install packages into C++/CLR project #3171

Closed

Description

@clairernovotny

As was reported in dotnet/reactive#233, NuGet is not properly installing packages into C++/CLR projects.

To repro with VS 2015 U3:

  1. Create new C++ Console application using the "CLR Console Application" template
  2. Try to add System.Interactive using NuGet, either the package manager console or the UI

It fails with the following error:

Could not install package 'System.Interactive 3.0.0'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Activity

  1. PatoBeltran commented on Nov 30, 2017

    @PatoBeltran

    Thanks for reporting the issue. At this point we do not plan on releasing an update for VS2015. Please try latest VS2017 and let us know if you need more help from us.

  2. Laibalion commented on Dec 13, 2017

    @Laibalion

    This issue is still present in VS2017 15.5.1 (latest update)

  3. BennyH26 commented on Jun 24, 2019

    @BennyH26

    Is there a solution or workaround here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions