Search code examples
visual-studio-2019

Visual Studio 2019 : Double clicking a project in Solution Explorer opens the .csproj file instead of toggling project files visibility


Double-clicking a project used to toggle visibility of its files, but now it opens the csproj file. This is different than the behavior we’ve had in VS for years. It’s not very often that you have to edit the csproj file. Is there any option or tweak to get the toggling behavior back like it was before ?


Solution

  • As to @Hans Passant answer : « Use Tools > Options > Projects and Solutions > General, untick "Open SDK-style project files..." to restore the old behavior. »