Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Referencing netstandard2.0 from net461 #404

Closed
ddobric opened this issue Jun 23, 2017 · 2 comments
Closed

Referencing netstandard2.0 from net461 #404

ddobric opened this issue Jun 23, 2017 · 2 comments

Comments

@ddobric
Copy link

ddobric commented Jun 23, 2017

In this article you mention:

NET Framework 4.6.1 will allow referencing binaries that are compiled against .NET Standard 2.0.

Right now, when I try to reference standard2.0 assembly from .NET 461 assembly get following error:

error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

Adding of reference to NetStandard.Library 2.0.0.-preview.. does not help. Package is downloaded, but nothing is referenced.

Using VS2017 preview

Is this already supported?

@lextm
Copy link

lextm commented Jun 23, 2017

Duplicate to #342

@weshaggard
Copy link
Member

Lets use #342 to talk about this issue.

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

No branches or pull requests

3 participants