Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop Visual Studio from asking if I want to save a solution file every time I make adhoc changes?

At present I'm working on a project that involves lots of little changes across a lot of files in source control (TFS). I'll open the file in Visual Studio via Source Control Explorer, make my change and check it in, but every single time I go to check it in Visual Studio asks me if I want to save the solution file it's automatically created. The options here are "Yes", where I have to create a solution file I don't want, or "No" and it doesn't let me check my file in. The only way around it is to close the solution (that I never wanted to create in the first place) before checking the file in. This behavior is a real nuisance and slows me down. I just want to make my change and check my file in. Is this possible?

like image 692
Adam McDonnell Avatar asked Nov 01 '22 01:11

Adam McDonnell


1 Answers

From Visual Studio Tools menu, select "Options", then "Projects and Solutions". Uncheck the option "Always show solution".

enter image description here

This will still create a solution file for you when you close your project but will not prompt you.

like image 116
Hamid Shahid Avatar answered Nov 14 '22 15:11

Hamid Shahid