I work in Visual Studio 2015 Update 3 and .NET Core 1.0. I have a web API project that is of type .NETCoreApp v1.0. When I add the .NET Core class library, it is of type .NETStandard v1.6. I can add this library to the web API project as a link, but it is not recognized when I try to add using operators.
If I create another project like .NETCoreApp, I can reference it and use classes without problems.
How can I use the .NET Core class library from my .NET Core application?
Edit / Update:
- This only seems to be a problem for the / Intellisense editor, because despite the editor’s warnings, .NETCoreApp creates and runs by calling in the class library.
- I run Resharper, which, as I see it, is accused of similar problems with other types of projects: I checked that I have the latest version and cleared the Resharper cache and restarted VS2105.
Peter source
share