If Visual Studio crashes when setting DataSource in GUI


    … or you get an ‘Object not set…’ when trying to expand the DataSource list in the properties window,it might be because you have a corrupt datasource in your solution.

    Press ALT+SHIFT+D to open the data sources window.

    If there is one with a yellow sign in front of it; delete it and Visual Studio should start working again.

    I got a corrupt DataSource when I imported a solution to TFS.