CocoKek
CocoKek

Reputation: 11

Renaming the folder which contains my .csproj file

so I’ve been trying to rename a old project that I had been working on but every time I rename the folder that contains my csproj it won’t load and asks to load the the file with the folder name

My old project was Metroloader/Metroloader.csproj

The thing I want to change it to is Nutsloader/Nutsloader.csproj

Upvotes: 0

Views: 1249

Answers (2)

Darjan Bogdan
Darjan Bogdan

Reputation: 3910

You need to edit .sln file and provide correct folder path to your renamed .csproj

Upvotes: 1

Backs
Backs

Reputation: 24913

  1. Close Solution
  2. Rename folder
  3. Open solution
  4. Remove not loaded project from solution enter image description here
  5. Add existing project from new location: enter image description here

Upvotes: 1

Related Questions