Looking up an Enum crashes VS


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I'm having a pretty regular problem with combos where looking up an enum causes VS to crash. I get a variety of errors, including this SF error (which occurred several times...each time I closed the exception dialog, another popped up):

Exception

Could not gather enums for System.Windows.Forms

OutOfMemoryException

Exception of type 'System.OutOfMemoryException' was thrown.



Source :



Stack Trace:

at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection)

at System.Reflection.Assembly.Load(Byte[] rawAssembly)

at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.GetAvailableEnums(Boolean WebProject)




Plus some VS type error messages (see attachment). These usually result in VS crashing. The problem is intermittant. Usually the errors occurs after VS has been open for a while, and behaves well right after is opened. The longer it is open, the more likely it will result in a crash.



The solution I'm using has 10 projects, most of which have enums defined within in them if that makes any difference.



The biggest problem I see is that there is no way to just enter the Enum directly. I.e. just entering the fully qualified enum name manually. At this point, I'm often forced to either reopen VS every time I setup a combo with an Enum or I manually edit the designer file.
Attachments
EnumFindError.PNG (90 views, 96.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search