What controls the default solution configuration when there's no .suo file?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p align=left><font face=Arial size=2>When there isnt a .suo file, how does Visual Studio 2005 select the initial solution configuration?</font>
<p align=left> 
<p align=left>We have a .sln file with multiple solution configurations.  A few times a year, our developers need to build in a new, clean environment; in other words, no .ncb, no .suo, etc.  When this happens Visual Studio is selecting a less-used solution configuration.  Its just infrequent enough that people wont necessarily keep an eagle eye on the toolbar, and waste time.  It would be nice is we could set up the .sln file so that the solution configuration we most often use is the default in this case.
<p align=left> 
<p align=left>Ive tried reordering the configurations inside of the .sln.  No joy.
<p align=left> 
<p align=left>Notes:
<p align=left>- A devenv.exe command-line solution would be too heavy-handed.
<p align=left>- Telling ourselves to pay better attention isnt an answer to the question.  Thats what well do if there is no answer.  (I prefer computers to work for people, not the other way around.)
<p align=left>- Distributing a "correct" .suo is likely to be more fragile than wed feel comfortable with.
<p align=left> 
<p align=left>Whats the selection algorithm, anyway?
 
<p align=left>Thank you,
<p align=left>Dan Konigsbach
<p align=left>

View the full article
 
Back
Top