Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2387
Visual Studio is craching after compiling...
posted

I am 99.9% sure this is the EXACT same issue I was having a while back, the removing the previously autogenerated columnsets thread I started a while back.  

Right after compiling the attached project, Visual Studio 2008 SP1 crashes.  I am darn close to possitve that this is an issue with how the UltraGrid uses a collections ITypedList interface.  Here is how I have come to that conclusion:

The goal is to allow home grown attributes on business objects. To achieve this goal when the business objects are in derivatives of IList, the collections need to implementation of Microsofts ITypedList.  After making some changes to the code there was a new and serious bug introduced when trying to display a collection with a custom ITypedList, there was an endless loop.  After much digging it was discovered the issue is in the custom implementation of ITypedList.

In the quest to fix the bug, this article shed a lot of light on the subject: http://weblogs.asp.net/fbouma/articles/115837.aspx

I opted to start with a baseline that does NOT use the custom ITypedList  and build from there.  The problem I have run into is that Visual Studio keeps crashing and is very sluggish when working with the UltraGrid control.  I believe the actual business objects are correct because Visual Studio is displaying the structure correctly inthe Data Source view:

When I compile the program VS2008 does compile it, then it crashes.  If the program is run outside of VS2008, it runs as expected.

My speculation is that there is a bug in the design time code which uses the ITypedList interface of the datasource of the UltraGrid control.

When the CompanyCollection implements the buggy custom ITypedList interface, VS2008 still shows it correctly, but the UltraGrid does not show it correctly, nor does it run.  This custom implementation is NOT included in the project.  If you would like to have it, please let me know and know where I can email, I cannot post it on an open forum.

Sam

UltraGrid-TreeCrash.zip
Parents Reply Children