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

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

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!

About Me: My name is Rob Walling and I'm a software developer living and working in Boston, Massachusetts. I write about hiring, managing, and motivating software developers, in addition to random outbursts on improving development skills and software startups.

My consulting firm, The Numa Group, performs .NET development for clients throughout the United States. If you are in need of a .NET developer or architect, drop me a line.

If you'd like to subscribe via RSS, my feed is here. If you'd prefer to receive very occasional emails when I publish a major new article, use the box below. Cancel anytime.

3 comments ↓

#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.

Leave a Comment