Rider not build project - Assets file doesn't have a target for 'netcoreapp2.2/win-x64'

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.


1 comment
Comment actions Permalink

Hi Maxdert

What is your Rider version? Did you try to build your project through .NET CLI? Is it possible to share with us your .csproj or the whole project and logs from `Help | Collect logs` after build? One can easily share them using `Help | Report a bug`. In this case, you'll only need to attach a `.csproj`. 

Thank you in advance! 


Please sign in to leave a comment.