VS 2022 successfully builds and launches the project. In Visual Stuido - target framework set is netcore 2.2
Rider return error
Microsoft.PackageDependencyResolution.targets(267, 5): [NETSDK1047] Assets file '...' doesn't have a target for 'netcoreapp2.2/win-x64'. Ensure that restore has run and that you have included 'netcoreapp2.2' in the TargetFrameworks for your project. You may also need to include 'win-x64' in your project's RuntimeIdentifiers.