Creating a .NET Project in Visual Studio
To create a new .NET project in Visual Studio 2008, complete the following steps:
1. From the File menu in Microsoft Visual Studio 2008, select New Project.
The New Project dialog box opens.
2. Choose the appropriate .NET Framework from the Framework drop-down box in the top-right of the dialog box.
3. Under Project types, select either Visual Basic or Visual C#.
Note: In Visual Studio 2005 select NET Framework 3.0 under Visual Basic or Visual C# in the Project types menu.
4. Choose WPF Application from the list of Templates in the right pane.
5. Enter a name for your application in the Name field and click OK.
A new Microsoft Visual Studio .NET WPF project is created with a XAML file that will be used to define your user interface and commands in the application.
Note: You can create your WPF applications using Microsoft Expression Blend or Visual Studio, but Blend is currently the only design-time environment that allows users to design XAML documents visually. In this documentation, Blend will be used for most examples.
|