Change the default project name of a Visual Studio Project

test code 1 Reputation point
2024-05-23T12:17:25.1633333+00:00

I want to change the default project name for all projects in Visual Studio. Whenever I create a new project in Visual Studio, I want it to show the name that I have defined. For example, it should display names like 'NewWindowsApp1', 'NewWindowsApp2', and so on. And not 'WindowsApplication1', 'WindowsApplication2' ...

How can I achieve this? What file Do I have to modify and how?

I have already tried modifying the below tags in 'WindowsApplication.vstemplate' file but it did not work

 <DefaultName>NewWindowsApp</DefaultName>

    <ProvideDefaultName>true</ProvideDefaultName>

Developer technologies Visual Studio Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.