Hello everyone !
I’m creating this post today because I’m wondering how to generate a netcoreapp3.1 project with CMake. I have seen some examples online (for net framework 4.7.2) mentionning this
I tried to change it to
but it did not work. The TargetFramework does not appear on my csproj file and when I compile, it complains that some packages I am using are not compatible with net40 and that they’re supporting net45, netcoreapp2.1, netcoreapp3.1 and netstandard2.0.
Also I used this link for reference but I haven’t been successful
Because the CMake file is pretty small, I’m giving the full file as a comment here
Could someone help me to figure out what I’d need ?
Thanks in advance !!