Is it possible to switch back to packages.config
scheme of things? I moved to PackageReference
scheme when I created the project, but for some reasons need to move to old way of things now.
I have tried Package Manager Console commands like restore with Update
and Reinstall
options. They do not generate packages.config anymore. I also switched Tools > Options > NuGet Package Manager
to packages.config
. No good.
You'll need to:
packages.config
file to the project (that is, xml as in the example but without individual <package>
elements)csproj
file in a text editor.PackageReference
elements out of the project file.<RestoreProjectStyle>
is not set in the project file.