An annoying bug in Visual Studio 2005 beta2 when using Developer Express’ controls

A lot of people have noticed a highly annoying bug in Visual Studio 2005 when dealing with Developer Express’ controls. The description of the bug goes like this:


During the build of the solution IDE starts throwing a modal dialog box with error icon: “cannot access a disposed object. Object name: ‘DesignerFrame'”. If you click OK the same dialog reappears and you’ll never get rid of it (regardless if you click OK or not) and you won’t be able to close IDE either (you have to resort to Task Manager for killing it). Regardless of the issue the solution starts running if it was built properly.


AFAIK this is the problem in Visual Studio 2005 Beta 2 and there are two workarounds to this problem:



  • upgrade to a CTP later then beta 2 (preferably july CTP since there is no public august CTP version of DevExpress controls) where error doesn’t appear anymore

  • close all designer windows within IDE before doing build

2 thoughts on “An annoying bug in Visual Studio 2005 beta2 when using Developer Express’ controls

  1. Hi, it could be solved much more easily..just by checking “Project -> Properties -> Debug -> Enable the Visual Studio hosting process” off.

    regards,
    Kate

Leave a Reply