Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Build warnings when using nuget in .Net standard and core 2.X projects #36

Closed
KevM opened this issue Sep 20, 2018 · 3 comments
Closed

Comments

@KevM
Copy link
Contributor

KevM commented Sep 20, 2018

Warning	NU1701	Package 'Naxam.Mapbox.Forms 1.0.5.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.	My.Tests	C:\dev\...\My.Tests\My.Tests.csproj	1

Warning	NU1701	Package 'Naxam.Mapbox.Forms 1.0.5.2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'

My Xamarin Forms project is using .Net standard 2.0 for shared code.

@mcfoi
Copy link

mcfoi commented Oct 2, 2018

@KevM I have limited experience with .NET Framework: is there any hack to fix this issue.. ..or is it just a warning I can dismiss as Apps will compile anyway?

@itsmuntadhar
Copy link

itsmuntadhar commented Oct 3, 2018

@mcfoi The app will probably compile but there's the risk of something not working properly because it didn't target .Net Standard

@mcfoi
Copy link

mcfoi commented Oct 4, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants