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

daowdos 271 Reputation points
2021-09-09T08:16:10.5+00:00

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.
3,485 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,259 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,332 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 58,441 Reputation points
    2021-09-09T16:49:30.927+00:00

    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 0 Reputation points
    2024-05-22T05:35:32.8533333+00:00

    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