02 Apr 2007
At work we recently branched our code so we can work on two releases at once. For some reason the newly branched code started to behave strangely.
After I started working on the new branched code I noticed that I was no longer getting line numbers in the Error List panel from Visual Studio 2005. When multiple people are working on the same code-base its pretty hard to isolate and fix errors and warnings when you have no idea which file or line they exist. This became old quick, so I decided to try and isolate the issue. I intentionally made a compiler bug and then selectively started deleting files one by one hoping the file and line number will show for the error. I got down to only one file in the site and the situation still occurred!
For some reason I decided to copy the code and put it in another location. I was surprised when it started working correctly, but I was frustrated because I didn’t know why. I got so desperate that I used Microsoft’s SynchToy to synchronize my code from both folder locations. I didn’t like the solution, but I was glad to have my error file and line numbers back.
It turns out that the problem was with having two parentheses in the folder name where the web project resided. The branched code we are using has two parenthesis in the name to indicate the release we are working on. To get around the issue, I just overrode my local StarTeam settings to checkout to a different folder structure and everything works fine now.
You can reference Scott’s blog for more information about this Crazy Parenthesis Bug.
Read More »
20 Mar 2007
A friend of mine is planning to go mouseless…
He just installed Launchy ( which I just installed and its awesome ) to help launch applications and ReSharper to help him when he develops.
Here are some other helpful c# Shortcuts you can use for developement. Another useful resource I found was a blog entry on CyberNetNews listing shortcuts for many other applications.
Personally, from my start menu I have isolated the entries that I use most often and assigned shortcut keys to them. For example, I have the Shortcut key property on the link from “Start->Programs->Mozilla Firefox->Mozilla Firefox” defined as “Ctrl + Shift + F”.
If you know of any other great tools or techniques for going mouseless, please leave a comment and share it with others.
Read More »
13 Mar 2007
One of the first things I do when installing Visual Studio 2005 is to setup my system to run off a root site with a static port instead of letting Visual Studio create an automatic web server port.
If you have Visual Studio Service Pack 1 installed then you can use the following SP1 instructions, otherwise, you can use these pre-SP1 instructions.
Read More »
10 Mar 2007
One of the many features of Visual Studio that I enjoy is the ability to debug through XML/XSL transformations. This has helped me several times figure debug through complicated XSL files.
If you haven’t used this feature or it sounds interesting, please see the following instructions by Microsoft.
Read More »
02 Feb 2007
A while back I was looking for a detailed explanation of ASP.NET 2.0’s Page LifeCycle. After a bit of searching I finally ran across an excellent chart created by Leon Andrianarivony.
His chart is the best visual depiction of ASP.NET 2.0’s Page LifeCycle that I have seen yet. I’d be interested in any others you might have seen or created.
Read More »