sameerpjoshi
sameerpjoshi
CC#
Created by sameerpjoshi on 6/16/2024 in #help
CMake to generate C# project and compile it
Hi All, I am using CMake for C# project. I am compiling with target framework as netstandard2.0. Following is the issue I am encountering when compiling the project using CMake. Severity Code Description Project File Line Suppression State Details Error NU1202 Package abc.xyz 23.2.347.1 is not compatible with net40 (.NETFramework,Version=v4.0). Package abc.xyz 23.2.347.1 supports: net48 (.NETFramework,Version=v4.8)
What could be the reason for this when I am targetting for .netstandard2.0? This nuget package abc.xyz is also supported on the .netstandard2.0, then what is exactly the problem ?
21 replies