Share via

How to change name of ASP.NET Empty website project ?

daowdos 296 Reputation points
Sep 9, 2021, 8:16 AM

I want to change the name of my project because it has the same name as the solution main project.
I tried in many way but didn't find how to change the name.
The project name project is ShopWebSite1

When the solution and project has same name it makes problems when trying to upload the project to GitHub.

130647-aspnet.png

Thanks in advance
Elad

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 74,296 Reputation points
    Sep 9, 2021, 4:49 PM

    what issue did you run into with GitHub?

    I often upload solutions where the solution file and project file have the same same. they have different extensions, so there is no issue.


  2. Ronen 10 Reputation points
    May 22, 2024, 5:35 AM

    Delete the solution file and rename the website folder, then open website from vs. The solution will recreate with the new website name.

    0 comments No comments

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.