Thursday, September 29, 2005

Speculation

Eveybody knows that GotDotNet's workspaces were supposed to be Microsoft's attempt to provide a community based site for collaborative development. This failed for a number of reasons, including performance, reliability and usability.

Many projects that started out using gotdotnet, very quickly moved to source forge.

In a vain attempt to make the site more successful, the GotDotNet team created a Source control plugin for visual studio. While this worked, the underlying engine was still to slow and unreliable.

Now, today several MVPs have mentioned that the GotDotNet team has something new and exciting up their sleeves, yet are unable to spill the beans. This leaves me with only one option, and that is to take a guess at what is going on...

Simply put, my guess (and wish) is that GotDotNet's workspaces are going to be converted into a pretty web based front end for Team Systems...

This makes plenty of sense. Microsoft have spent huge amounts of money already creating a collaborative development environment in Team Systems, and maintaining another environment that has proven itself to be lacking would be stupid...

In addition, modifying the Team Systems plugin for Visual Studio to work with the new GotDotNet team systems would be trivial.

Something like this would blow sourceforge out of the water...

Wednesday, September 21, 2005

Tip #102 - DesignMode only works after a Component is sited

I could almost kick myself... the designer has been busted for months, and I never twigged to this.. I guess it was just easier to code my forms by hand...

The reason for this is simple, someone I used to work with decided all our controls needed to have consistent fonts and colours, without having to change the system settings (Gotta love UI standards). To achieve this, the customisation code as put inside control constructors. This broke all the designers.. I figured it would be an easy fix, just wrap all the customisation code in a check for DesignMode. After this fix didn't work, I just decided I didn't really need the designer anyway.

It turns out, the problem is that the DesignMode property on the Component class is simply a wrapper around the site.DesignMode property. Without the site set, it will always return false. Obviously, a control is not sited until AFTER it's been constructed...

Moving all of the code into the a different location, and suddenly we have the designer back.. yay...