A decent alternative to what you are doing now but make a project template. Templates can be test project, class projects etc.
- Create a new project e.g. test project
- Alter the project file alter the project file (as you are doing now) and if using C# 9 use this
- From Visual Studio's menu select Project,
- Select Export Template
- Follow the prompts to export a project
- Select the project
- Fill in the default name for a project
- Fill in a description
- Finish up
- Restart Visual Studio
The following is one of my .NET 5/C# templates (works no different for a test project)
Type in the name of the template e.g. my template for a class project for .NET 5 is PayneClassProject
Give a name for the project, done,