简体   繁体   中英

Local Nuget package not recognizing

I have created class library project in vs 2015 of version 4.6 and after that i have created Local Nuget package.

I have created 2nd project in .NET core in Vs 2015 and added local Nuget package of above one, but when i am trying to use it the package is not getting recognize and no intellisense also, so please help.

If I understand what you're saying correctly, you created a NuGet package for a .Net Framework 4.6 library and now you're trying to use it from a .Net Core application.

That won't work, .Net Core is not directly compatible with .Net Framework. What you need to do is to create a .Net Standard library. You will then be able to use that from .Net Core or from .Net Framework.

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