Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

.Net Core 2.2 Package Warning

$
0
0

I have a Web API in .net core 2.2 and 2 i've got a warning with 2 of my packages. the warning says that :

" warning NU1701: Package 'Microsoft.AspNet.Razor 3.2.7' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project."

i've tried different versions of this package but the problem isn't solved...do you know what should i do?

UPDATE: I found that this package is compatible with .net framework but my project is .net core now the question is how to use this package on my project?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>