Is there a way to create a list of nuget packages that you commonly use, in my case Serilog and then the additional extensions for that.
Is there a way to be able to install all the packages in one go instead of having to search for and install each package one by one?
One method is to create a new project, add dependencies, in this case NuGet packages then under the project menu in Visual Studio select Export Template
, select Project template
and follow the prompts.
When naming the project template give the project template a meaningful name.
After completing these steps the template is available under add new projects.
Here is an example of custom templates under VS2019 that are pinned for easy access.