Visual studio is hanging when add a new dataset to RDLC report

There's no fixing to this bug in V.S until now, Hope Microsoft to fix this continuous problem .


The Workaround :

I Add a new fresh project to my solution ,then drag and drop my RDLC to my new project, then add a new data set ,finish my report and drag it again to its original project , and every thing goes okay .


This was occurring for me in VS2017. I was able to fix the issue by first deleting everything in the /bin/ and /obj/ folders of the project where the .rdlc is contained.

Specifically it seems like there's FileIOException being thrown when opening the Dataset Properties window and it seems like one or both of these files in the /obj/ folder cannot be opened because they are being used by another process:

DesignTimeResolveAssemblyReferences.cache DesignTimeResolveAssemblyReferencesInput.cache

I wasn't able to figure out why sometimes the /bin/ needed to be cleared too, but better to be safe and just clear both.