I\'ve installed Visual Studio 2017. I have a class library in the new .NET Standard format, which is able to be used by both .NET Framework and .NET Core. But when I go to <
As an alternative, you can use the .NET Standard Library from Nuget Package Manager to handle this issue:
The message in the Add Reference window for .NET Framework is expected. When you create a .NET Standard library, the NETStandard.Library
metapackage is automatically referenced during project creation. It is a set of standard .NET APIs that are recommended to be used and supported together. This includes all of the APIs in the NETStandard.Platform
package, plus additional libraries that are core to .NET, but built on top of NETStandard.Platform
.
This means we don’t need to need add references individually.