Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

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: ,
Posted: Wednesday, October 15, 2008 3:00 AM by saraford

Comments

the.silent said:

Thank you for this Sara

I loved your weblog when I saw it for the first time today.

# October 15, 2008 6:30 AM

odhan said:

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 !

# October 15, 2008 2:09 PM

Ian Suttle said:

Is there a common reason I might not have this option on my File > New menu?

# October 15, 2008 5:49 PM

saraford said:

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.

# October 15, 2008 5:58 PM

Ian Suttle said:

Ah, I probably selected C# settings... now to figure out how to make it appear.  I do see the command listed in the Tools\Options\Keyboard commands list.

# October 15, 2008 6:07 PM

Visual Studio Hacks said:

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

# October 16, 2008 8:36 AM

Gary C. said:

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?

# October 16, 2008 3:28 PM

Alfredo De Regil said:

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

# December 11, 2008 5:26 PM

Alfredo De Regil said:

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

# December 11, 2008 5:32 PM
New Comments to this post are disabled
Page view tracker