Visual Studio 2013 Crashed While add a DataSet in

2019-02-25 00:06发布

问题:

When I try to add DataSets to any RDLC report within asp.net Project, Visual Studio stop work and restart.

回答1:

I have tried adding DataSet using VS 2012 and 2015, both attempts produced an error same as yours. This only happens to one of my VS projects.

Took me several hours to find out that the cause is an unused but referenced dll. After removing that from my project references, I can finally add DataSets successfully.



回答2:

Apart from reference issue, my case was different.

It was 3rd party extension named resharper of jetbrain which cause delayed of rdlc report designer to load, in the meantime visual studio get hanged and get restarted. For your case if not resharper, may be another extension that may delayed the report designer to load which in turn may hang or crash visual studio.

Though seems little bit peculiar but it helped me, hope this helps someone.