简体   繁体   中英

If a library is targeting .NET Standard 2.0 is my only option to use Visual Studio 2017?

If I am using a library that aims to only target .Net Standard 2.0 and I am using the .NET Framework (not .NET Core) version of the library which is 4.61 ( Reference Microsoft )

Am I now "required" to have Visual Studio 2017 15.3 to use this? Or am I still able to use Visual Studio 2015 considering that I only want to use .NET Framework 4.61?

So following on from where @Kobi put me on the right path...

If you see the comment by Appu George it should be possible to consume a .NET Standard 2.0 .NET Framework within VS2015 if you have:

@Kobi if you want to add the above to your answer I would be happy to mark that as the accepted answer.

It should work for you. I didn't find official documentation, but I did find some comments.

Immo Landwerth , product manager at Microsoft, 2017-08-14 (emphasis added):

Consumption is, but you need an updated NuGet client which AFAIK will ship soon . If you want to build .NET Standard 2.0 libraries you need to use VS 2017 (15.3). You could, however, also just use the command line until you can upgrade your VS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM