As I was working on updates to The Krewe Windows Phone App, I ran into a very aggravating situation. I needed to blow away my Azure deployment project (more on a later date) and recreate a new one. When I did this, the project was named the ever-so-helpful "TheKreweAPI.Azure2". I know, pure poetry...
After this happened, I took the time to rename everything to something useful. I manually edited solution and project files. I scrubbed output directories. I made everything look pretty.
I my quest for glory, I removed something I didn't mean to remove. When the project was created, VS12 automatically added the project to source control. I had the little + next to the project name. After I renamed everything, my little + went away.
That made me a sad panda.
After a full day of shouting obscenities, I finally fixed it. Here is what I had to do to fix it:
- Undo the "add" changes.
- Remove the project from the solution
- Rename the original directory
- Manually create the directory in the Source Control Explorer
- Copy the files into the new, correctly named directory
- Re-add the project to the solution.
- Add the files to source control
- Check everything in
- Party like it's 1999
I don't know if you realized this, but that's a LOT of steps for a simple rename. Hopefully, this will keep you from the same spew of obscenities that I was forced to use.