After installing vs2022 on my machine , I have tried to build C# projects of 4.7.2 with VS2019 . I'm getting the following errors during restore nugets:
Errors in C:\GIT\\XXX.vcxproj
NU1201: Project XXX is not compatible with native (native,Version=v0.0). Project XXX supports: net472 (.NETFramework,Version=v4.7.2)
NU1202: Package XXX 12.4.0 is not compatible with native (native,Version=v0.0). Package XXX 12.4.0 supports:
- net472 (.NETFramework,Version=v4.7.2)
- net50 (.NETFramework,Version=v5.0)
- netcoreapp3.1 (.NETCoreApp,Version=v3.1)
(Before everything passed successfully)
(env path is directed only to C:\Program Files\dotnet. I have restart machine ... and nothing)
Errors in C:\GIT\\XXX.vcxproj
NU1201: Project XXX is not compatible with native (native,Version=v0.0). Project XXX supports: net472 (.NETFramework,Version=v4.7.2)
NU1202: Package XXX 12.4.0 is not compatible with native (native,Version=v0.0). Package XXX 12.4.0 supports:
- net472 (.NETFramework,Version=v4.7.2)
- net50 (.NETFramework,Version=v5.0)
- netcoreapp3.1 (.NETCoreApp,Version=v3.1)
(Before everything passed successfully)
(env path is directed only to C:\Program Files\dotnet. I have restart machine ... and nothing)