I need to solve this problem, but I don't use VisualStudio.
The stated solution (on that question, elsewhere, and also from work colleagues) is Update-Package -Reinstall.
But that pre-supposes the existence of PackageManagerConsole ... which AFAIK doesn't exist in Rider (there's an EF management console available, but not (to my knowledge) a more general Nuget one)
How do I:
- run that command, or the equivalent, in Rider?
- run that command from a cmd line outside of any IDE (i.e. outside of / without VisualStudio)
This is the official document of the Update-Package command:
Update-Package (Package Manager Console in Visual Studio)
And from the comment of the -reinstall argument, you can see:
so I think the mutual aim feature in nuget.exe should be:
'nuget restore' and 'nuget update'.
restore command (NuGet CLI)
update command (NuGet CLI)
Remember to configure the nuget command exe to system env variable path.