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

Unable to use .NETStandard1.7 #161

Closed
zipswich opened this issue Jan 17, 2017 · 1 comment
Closed

Unable to use .NETStandard1.7 #161

zipswich opened this issue Jan 17, 2017 · 1 comment

Comments

@zipswich
Copy link

I am created an empty class library targeting .NETStandard1.6, and everything worked fine.
I switched the target to .NETStandard1.7, then building the library generated the following error:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\NuGet\15.0\Microsoft.NuGet.targets(162,5): error : Your project is not referencing the ".NETPlatform,Version=v5.0" framework. Add a reference to ".NETPlatform,Version=v5.0" in the "frameworks" section of your project.json, and then re-run NuGet restore.

Any remedy for this?

@weshaggard
Copy link
Member

As was mentioned in #160 netstandard1.7 isn't a shipping version and shouldn't be used. Once we get a tools update and we ship the next version you will be able to target netstandard2.0 which will be the next version above 1.6.

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

2 participants