none
New 'Blank Solution' without creating directory for solution

    Question

  • Hi,

     

    Is there a possibility to create a new 'Blank Solution' without  creating the directory for the solution ?.

    In the wizard the check-box 'Create Directory for Solution' is checked and disabled so there is always a directory created.

     

    I know I can copy the .sln and the .suo file to my directory and open the solution from this place but is there no other way to let the wizard create the .sln and .suo files in the directory I specify ?

    Thursday, July 5, 2007 12:31 PM

Answers

  • There are four parameters: the project file name, the solution file name, the solution folder and the project folder, and Visual Studio has never allowed freedom to choose the four, only three... I also find it frustrating from time to time.

     

     

    Thursday, July 5, 2007 1:37 PM
    Moderator

All replies

  • There are four parameters: the project file name, the solution file name, the solution folder and the project folder, and Visual Studio has never allowed freedom to choose the four, only three... I also find it frustrating from time to time.

     

     

    Thursday, July 5, 2007 1:37 PM
    Moderator
  • My level of frustration leaded me to submit a suggestion about this on Microsoft Connect : https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=346615

    While waiting a positive feedback, I use a ShellNew extension developped by Peter Provost that is available at this url : 

    "ShellNew Extension for Visual Studio Solutions"
    http://www.peterprovost.org/archive/2005/10/25/8982.aspx.

    Rgds.
    Pascal


    http://www.netfxfactory.org/
    Tuesday, June 3, 2008 11:22 AM
  • This sounds great, it doesn't seem to work for VS 2008, any ideas?
    Thursday, July 3, 2008 11:43 AM
  • To make this work for VS2008 you need to update the dummy solution file included in Peter's ZIP file; the only differences are the versions in the file.

    Here're the contents for VS2005:
    Microsoft Visual Studio Solution File, Format Version 9.00 
    # Visual Studio 2005 
    Global 
        GlobalSection(SolutionProperties) = preSolution 
            HideSolutionNode = FALSE 
        EndGlobalSection 
    EndGlobal 


    Here're the contents for VS2008:
    Microsoft Visual Studio Solution File, Format Version 10.00 
    # Visual Studio 2008 
    Global 
        GlobalSection(SolutionProperties) = preSolution 
            HideSolutionNode = FALSE 
        EndGlobalSection 
    EndGlobal 

    • Proposed as answer by David Peters Wednesday, September 3, 2008 4:05 PM
    Wednesday, September 3, 2008 4:05 PM