Resharper v2019.3 is not restoring nuget packages of .net core in VS 2019 v16.4.5

Answered

Actual: Resharper build is not restoring .NET Core NuGet packages

Expected: Resharper build should also restore.NET Core NuGet packages

Workaround: switch to MSBuild to restore .NET Core NuGet packages

Solutions: ?

5 comments
Comment actions Permalink

Hello Bart,

 

Could you please specify what format is used for packages referencing in your project: PackageReferences or packages.config?

Thank you.

 

0
Comment actions Permalink

Hi Angelina

All dotnet core project are using PackageReference as default.

There are still some older .net projects in the solution using packages.config.

Kind regards

Bart

0
Comment actions Permalink

Thank you for the reply.

 

Unfortunately, it's a known issue - https://youtrack.jetbrains.com/issue/RSRP-466657.

Please follow it to get the latest updates.

Please accept our apologies for the inconvenience.

Thank you.

0
Comment actions Permalink

Hi Angelina

We switched form VS2019 to Rider, and didn't encounter this issue yet. Can you explain why this is not occurring in Rider?

Kind regards

Bart

0
Comment actions Permalink

Hello Bart,

Rider has its own NuGet mechanism, there could be no integration issues in this case.

Thank you.

1

Please sign in to leave a comment.