Damon Armstrong

Caffeine Induced Tirades about .NET and Life
And don't forget to check out my latest Simple-Talk articles
Add to Technorati Favorites      Add to Google     

Avoid Parenthesis in VS 2005/2008 Web Site Project Paths

Published Saturday, April 19, 2008 12:44 AM

I was developing against a web site project -- you know the ones in Visual Studio 2005/2008 where you can just point to a directory and do your thing (as compared to a web application project with an actual project file) -- and I noticed something a bit odd.  When I compiled the project the Error List was not showing file references, line numbers, columns, or any other information about the location of the compiler errors. 

I figured Visual Studio was just getting tired since it had been open for days, so I restarted the application in hopes that it would straighten out.  No such luck.  Then I restarted the computer.  That's what tech support normally recommends anyway, so I figured I'd start with the basics.  Once again, no error location information. 

At this point, I was starting to wonder if it was an issue with Visual Studio 2008 that nobody had noticed yet.  Of course, if VS 2008 wasn't showing error location information on web site projects then there probably would have been an outcry long before this.  So I hit the search engines. 

It was a pain to find, which is why I'm trying to help publicize the issue, but there are a few references to the exact issue I was having.  Specifically on the following sites:

http://www.developmentnow.com/g/51_2006_7_0_0_790825/Errors-in-Error-List-with-no-line-numbers.htm

http://www.dotnetmonster.com/Uwe/Forum.aspx/vs-net-ide/4006/Error-List-Missing-the-Code-File-Reference

What was the problem?  I was using parenthesis in the path to the web site project.  After removing the parenthesis, the problem was gone.

by Damon

Comments

No Comments
You need to sign in to comment on this blog

















<April 2008>
SuMoTuWeThFrSa
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910
Ziggurats, Batman and the Town Crier
 We asked Brian for a description of the Help System for the software he's working on and ends up... Read more...

The Future of NET Reflector
 Simple Talk asked freelance writer Bob Cramblitt to sit down with the two people behind the agreement... Read more...

Software Tool Design: Remote User Testing
 If you are developing a software product, you'll know that the sooner you can get feedback from the... Read more...

SQL Toolbelt 2008: Predominantly an Engineering Task
 The conversion of the Red-Gate tools to be compatible with SQL Server 2008 might not seem, on first... Read more...

Andrew Tanenbaum: Geek of the Week
 Andrew Tanenbaum has had an immense influence on the way that operating systems are designed. He... Read more...