| title | NuGet Warning NU1702 | |
|---|---|---|
| description | NU1702 warning code | |
| author | nkolev92 | |
| ms.date | 07/25/2024 | |
| ms.topic | reference | |
| f1_keywords |
|
ProjectReference 'C:\Code\Project2.csproj' was resolved using '.NETFramework,Version=v4.7.2' instead of the project target framework '.NETCoreApp,Version=v5.0'. This project may not be fully compatible with your project.
AssetTargetFallback was used to select assets from a package. The warning lets users know that the assets may not be 100% compatible.
Change the target framework of the projects to make them fully compatible.
Example: Change the target framework of Project2 to .NET 5, or change Project2 to target both .NET 5 and .NET Framework 4.7.2.