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

daowdos 296 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

Developer technologies ASP.NET ASP.NET Core
Developer technologies .NET Other
Developer technologies ASP.NET Other
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    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 10 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

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.