Search code examples
crashentity-framework-6datasourcenavigation-propertiesvisual-studio-2015

adding an entity object with navigation property as data source, causing visual studio 2015 to crash


I'm starting a project with entity framework 6 in win Form. my visual studio is 2015 community edition . I want to use data binding with object data sources, but when I adding an entity that has a navigation property, (and choosing a form in design view) visual studio crashes and automatically restart. by deleting this navigation property, every thing is OK! when I logging the "devenv.exe", I see that a "Stack Overflow Exception" was happens. why this happens? and what is the solution?


Solution

  • Even if this question is a bit old, it is google top answer so people might be interested in the fact that Visual Studio 2015 update 2 fix this issue. You can find it here:

    https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx