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

Creating .NET Standard 2.0 class library project will always have reference to Microsoft.NETCore.Platforms 1.1.0 by default #972

Closed
eriawan opened this issue Sep 18, 2017 · 2 comments

Comments

@eriawan
Copy link
Member

eriawan commented Sep 18, 2017

Summary

Creating a .NET Standard 2.0 class library project should have correct reference to Microsoft.NETCore.Platform 2.0.0, but actual reference points to version 1.1.0 by default.

Detail description

Environments:

  • Windows 10 Anniversary Update
  • Visual Studio 2017 Enterprise with update: 15.3.3 and .NET Core workload installed (also tested with Visual Studio 2017 15.3.1 and using Community Edition)

Steps to reproduce:

  • Create a .NET Standard class library
  • expand the Dependency node on the Solution Explorer

This is the steps screenshot:

create_netstandard_library

By default, the creation of .NET Standard 2 class library should always point to v2.0.0 not the 1.1.0.

This is the close-up screenshot of the dependencies:
netstandard_dependencies

Expected result

The references should point to Microsoft.NETCore.Platforms v2.0.0 instead of older version, because this version is the version used by .NET Standard 2.0.

Is this a bug or by design?

cc @terrajobst and @weshaggard

@eriawan
Copy link
Member Author

eriawan commented Sep 18, 2017

My bad, I think this is not a correct place for this issue. I'll recreate this on dotnet/standard.

@eriawan
Copy link
Member Author

eriawan commented Sep 18, 2017

I close this, because I have created the issue on dotnet/standard#497

@eriawan eriawan closed this as completed Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant