Our projects are typically stored as single projects, and are not part of a larger solution. When I open a project, Visual studio creates a solution (sln) and soution options (suo) file in my folder. I want to stop this automatic sln and suo creation, Does anybody know how to go about doing this?
EDIT: We have several dozen individual projects, and when I do a compare to source control to find the items that need to be added/checked in, these 2 are always crapping up the list for each project.
See if you have "Always show solution" checked under Options -> Projects and Solutions -> General. If so, uncheck it.
I believe this is unchecked by default though. I remember turning this on because I wanted solution to be created always.
If you're using subversion, adding the "svn:ignore" property to the folder to ignore *.sln and *.suo seems like a good solution. Other version control systems have similar functionality. Consult the docs for your specific VCS.
As for actually preventing it from happening, I have no clue, but I suspect it's impossible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With