MimeTypeMap icon indicating copy to clipboard operation
MimeTypeMap copied to clipboard

NU1701 Package 'Google.GData.Extensions 2.2.0' 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=v3.1'. This package may not be fully compatible with your project.

Open yadavsudhir327 opened this issue 5 years ago • 3 comments

Hi team, I would like to know how can I fix this warning, as the functionality is working fine.

yadavsudhir327 avatar Feb 05 '21 13:02 yadavsudhir327

I'm not sure what this problem has to do with MimeTypeMap, but maybe you should ask the authors of Google.GData.Extensions package to provide a Version for ".NETCoreApp 3.1" or "netstandard" target frameworks?

markusschaber avatar Feb 09 '21 07:02 markusschaber

@markusschaber I'm getting the same issue when referencing the package directly in my project. Basically means the package does not target .net6 and hence the warning.

Could you update and release a version for net6? its the stable long term release and it will hide the warning .

Severity Code Description Project File Line Suppression State Warning NU1701 Package 'MediaTypeMap 2.1.0' 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 'net6.0'. This package may not be fully compatible with your project. MyApp C:\Repos\MyApp\MyApp.csproj 1

sommmen avatar Dec 10 '21 09:12 sommmen

Also see: https://github.com/samuelneff/MimeTypeMap/pull/128

sommmen avatar Dec 10 '21 09:12 sommmen