Search code examples
visual-studio-2010visual-studiosolution

How to change default location of .sln file in Visual Studio 2010?


I'd like my .sln to always live within my project folder. How can I make this the default behavior when creating a new project?


Solution

  • Uncheck the "Create directory for solution" checkbox when you save the solution for the first time. Visual Studio memorizes this choice, it will stay unchecked when you create and save new solutions, until you change it again.