Sams Teach Yourself Visual Studio .NET 2003 in 21 Days

Sams Teach Yourself .Net in 21 Days

By Jason Beres

The New Projects Dialog

From the Getting Started page on the Start Page, click the New Project button. The New Project dialog pops up, as shown in Figure 2.9.

02fig09.jpg

Figure 2.9 The New Project dialog box.

The New Project dialog lists all the possible project types that Visual Studio .NET can create. All the different project types are predefined templates that include different classes, namespaces, and designers to make working with the specific project type easier. As you go through the next 20 days, you'll learn how to use the key project templates that are offered.

You should also notice the project types are broken down by language and language-agnostic types. The types of projects that you can create in Visual Basic and C# are identical. There are no special project differences between them, except for the default language settings. Project types for C++ are specific to the C++ Active Template Library tools that come with .NET.

When you create a project, you can specify the name and location of the project source files. The default directory for all created projects is the Visual Studio Projects folder in your My Documents folder.

For Web-based projects, the actual source files are created in the Inetpub\wwwroot directory of your local Web server, and the project solution file is saved in the Visual Studio Projects folder in a folder named after the project name. For all non-Web projects, all the project source files are created in a new folder using the name you enter in the Name box of the Visual Studio Project folder in My Documents. From the New Project dialog, you can change the default path of any new projects being created by clicking the Browse button and navigating to a folder on your local machine.

To get started working with the IDE, change the name of the project to ExploringVSNET as Figure 2.10 demonstrates and click the OK button.

02fig10.jpg

Figure 2.10 Creating the ExploringVSNET project.

Share ThisShare This

Informit Network