You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: