Share via


Did you know… You can create a new project from existing code? - #335

On the File menu, under New, there’s the Project From Existing Code command.

File -> New -> Project From Existing Code

This brings up a wizard that walks you through creating the project from whatever codebase you point it at.

Create New Project from Existing Code Files wizard

Walking through a VB project, you specify where the files live and what to name the solution. For C# and VC, your experience is slightly different.

Wizard page 2

And the new project gets created.

New Project Created

Technorati Tags: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    October 14, 2008
    Thank you for this Sara I loved your weblog when I saw it for the first time today.

  • Anonymous
    October 15, 2008
    And one other tip that make me fill stupid ! How it is possible I missed this option when I'm working with VS all day long ? How it will be possible to use all the power of VS if your blog was not existing ? ... thanks !

  • Anonymous
    October 15, 2008
    Is there a common reason I might not have this option on my File > New menu?

  • Anonymous
    October 15, 2008
    Depends on the settings you chose at first launch or last reset to. I'm using the general development settings. See any Tools - Import / Export Settings blog posts. The command is File.NewProjectFromExistingCode.

  • Anonymous
    October 15, 2008
    Ah, I probably selected C# settings... now to figure out how to make it appear.  I do see the command listed in the ToolsOptionsKeyboard commands list.

  • Anonymous
    October 16, 2008
    My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Channel 9 Stuff: Anders Hejlsberg and Guy Steele- Concurrency and Language Design The Concurrency Runtime- Fine Grained Parallelism

  • Anonymous
    October 16, 2008
    For me, I have one Professional Edition VS2008 on Vista that does not have the New | Project from Existing Code and the version is 9.0.30729.1 SP but on a VPC with Windows 2008 Server with the same VS2008 Professional Edition it does have the Project from Existing Code option. I think I configured both to use C# as the development system. Anyone else have any ideas on how to get VS2008 to display the Project from Existing Code option?

  • Anonymous
    December 11, 2008
    My VS 2008 was not showing that option and here's what I did to solve it: Go to Tools menu Select the Customize option Select the Commands tab Click on the File category on the left Click on the New Project From Existing Code commmand on the right Drag and drop that command on your File menu

  • Anonymous
    December 11, 2008
    My VS 2008 was not showing that option and here's what I did to solve it: Go to Tools menu Select the Customize option Select the Commands tab Click on the File category on the left Click on the New Project From Existing Code commmand on the right Drag and drop that command on your File menu