Geeks With Blogs
Freestyle Coding Programming in the Real World

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.

Posted on Thursday, April 10, 2014 2:30 PM Visual Studio , Visual Studio Online , Source Control | Back to top

Comments on this post: Renaming Woes

# re: Renaming Woes
Requesting Gravatar...
Kotlin 1.1.2 version out with 15 new features
Kotlin 1.1.2 version launched with some new features and resolves some bugs. I decided to research the upcoming changes released in past four EAP milestones and go through those that might impact Android Development.
Left by Sawan Kumar on Jun 16, 2017 2:41 AM

Your comment:
 (will show your gravatar)

Copyright © Chris Gardner | Powered by: