Let me give some more information on what I am trying to accomplish: we have created a 'one project' Blazor template in Visual Studio, so that our staff can get up and running with new development projects faster.
The template includes our own dll's/references and nugets and other important files that all of our apps utilize.
Currently we have the developers create a new project using the template, and then manually add a second project to the solution for our data tier (models, repositories, context, etc). To meet our department standards, we always follow the naming convention of the second project as: ProjectName.Data
So, if a developer uses the template to create a new project called MyNewProject, they will name their second project, within the solution, MyNewProject.Data.
Here is what I want to do, moving forward: I want to update the template so that it already has the second project added. But how can I configure the name of the data project so that it updates dynamically?
For example: the template is called Template and the second project is called Template.Data.
When a developer uses the template (with multiple projects), how can we make it so that the name of the data project is updated accordingly?
Developer uses template to create a new project called: MyNewProject. I want the second project to automatically be named MyNewProject.Data - NOT Template.Data.
I was looking at $SafeProjectName, but can't seem to figure out how to use that for the naming of the second project within the template.
Is this even possible?