Tuesday, November 01, 2005

I just read two great posts by Jeff Atwood and Brad Abrams about Boolean parameters.  Here's the readers digest version:

Next time you're about to use a boolean parameter in a method, don't.  Enums are much easier to read, especially when the code isn't yours.

Tuesday, November 01, 2005 9:55:09 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Friday, October 28, 2005

When adding a item to your toolbox in Visual Studio from a network share, you may encounter one of the following errors:

  • Insufficient state to deserialize the object.  More information is needed.
  • The assembly '\\<assembly_path>' could not be loaded.  Check that any dependencies the file requires are installed.
  • The file referenced by the shortcut file '\\<assembly_path>' cannot be opened.

The problem is security.  Here's the fix:

  1. From the start menu, select [Control Panels] > [Administrative Tools] > [MS .NET Framework x.x Wizards]
  2. Click [Adjust .NET Security]
  3. Click [Next]
  4. Select [Local Intranet] and make sure the slider below is at "Full Trust"
  5. Click [Next]
  6. Click [Finish]
  7. Make sure you shutdown and restart Visual Studio before trying to add the items again.
Friday, October 28, 2005 5:46:07 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [2]  | 
 Thursday, October 27, 2005

I've read several blog posts over the last several weeks about the direction Microsoft has gone in their product naming, but I thought that Chris Anderson summed up my feelings well: "yes, 'WPF' is pronounced 'Avalon'... the WPF is silent"

Thursday, October 27, 2005 3:32:33 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 

Doing a lot of XML documentation?  Well, the QuickdocViewer VS2003 Add-In may be for you.  It allows you to quickly preview changes made the to documentation - very handy.

Thursday, October 27, 2005 2:49:00 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, October 25, 2005

You know the rule that says you're not supposed to put too many words in a dialog because it's overwhelming?  Well, I would like to respectfully submit to the VS team that they follow this advice - especially in this case:

To a new developer, this many words in a single dialog translates to "You have experienced a catastrophic error and should run for your life" when in fact, all it really means is "You just opened a solution for the first time!" (after being brought down from source control.)  It would be nice if the wording on this dialog could be changed to something more to the effect of "Congratulations on your new solution!"

Wednesday, October 26, 2005 12:40:09 AM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  |