Search code examples
visual-studio-2008devexpressdesigner

Visual Studio 2008 Designer crashes randomly for my Devexpress Reports


I have a program written in VB that has DataDynamics ActiveReports as well as DevExpress reports in it. Yesterday when I started working it wouldn't let me use my DevExpress reports with the designer. I restarted Visual Studio and it worked fine. Today I am working on the same reports and Visual Studio won't let me use Designer for any of the DevExpress reports again. Each of the reports Designer is complaining about the same method not being found (DevExpress.XtraReports.UI.BandCollection.AddRange).

I have no idea how to fix this.

Here is the call stack :

Instances of this error (1)  

at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement) 

Solution

  • I solved this by deleting the designer file for one of the reports, filename.Designer.vb, and then refetching it from the subversion repository. I then got a bunch of errors in visual studio because it didn't see the new file so I just had to restart Visual Studio.