Nuget Restore - Packages

There are two methods to restore packages, you cannot mix them within the same project, (you can in the same solution)

Old projects store all references in a packages.config

New projects store all references in csproj in the PackageReference tag