ASP.NET Developers: Why Not to Use Parentheses in Directory Names

A friend of mine wrote the other day:

If you include parentheses ( ) anywhere in the directory path of a website, the error list in Visual Studio 2005 SP1 will not report the File/Line number/Column number for any compile time errors in the website project.

This has been a known issue since at least last year (I found blog posts dating from back then). One of the developers here [at his current place of employment] reported it to Microsoft months ago when they were on-site and nothing happened. I asked about it again last week after spending a couple of hours tracking down an error, so he opened a support ticket for it. A week later MS gets back to him and says “change the parenthesis to brackets and it will work fine.”

Except that we are on 3.x of the application and it’s all in MS Team Foundation Server (TFS), and TFS doesn’t allow you to rename a project (according to the guy I’m working with).

First of all, ouch.

Secondly, can anyone confirm or deny that you can’t rename a project in TFS?

Third, if you can’t rename a project in TFS…Microsoft, this is lame…fix it!

Start Small, Get Big
Growth Secrets for Self-Funded Startups. It'll Change Your Life.
What you get for signing up:
  • A 170-page ebook collecting my best startup articles from the past 5 years
  • Previously unpublished startup-related screencasts
  • Exclusive revenue-growing techniques I don't publish on this blog
"The ideas and information Rob provides should be required reading for anyone that wants to create a successful business on the web." ~ Jeff Lewis
Startups for the Rest of Us...
If you're trying to grow your startup you've come to the right place. I'm a serial web entrepreneur here to share what I've learned in my 11 years as a self-funded startup founder. Luckily several thousand people have decided to stick around and join the conversation.

For more on why you should read this blog, go here.


#1 Edward J. Stembler on 06.26.08 at 10:43 pm

A few weeks ago I asked the “Tech Support” at a 40,000 employee enterprise company to rename a TFS project… they said they could not. At the time I thought they were just incompetent. I guess I was wrong?

#2 Chris Shaffer on 06.27.08 at 9:28 am

It’s not ideal, but you could move or branch the code into a new project.

#3 Juanma on 06.28.08 at 6:17 am

I guess it’s “only” a refactor problem. Recently I have had to rename a proyect in a solution of 12 projects. I renamed the project but I want to rename the directory name too. I had to do it manually.
Although its a mechanical process, I can’t guess why this can’t be done automatically.