Adam McDonnell
Adam McDonnell

Reputation: 101

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?

Upvotes: 5

Views: 3446

Answers (2)

Jeremy
Jeremy

Reputation: 1

My work computer was updated from v18 to v20 and then started asking me to save my solution every time I closed the program. I believe I fixed it by setting the .sql file associations to the new v20 program.

Upvotes: 0

Hamid Shahid
Hamid Shahid

Reputation: 4626

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.

Upvotes: 2

Related Questions