< Build & Run C++ .NET 1 | Index #1 | Index #2 | Build & Run C++ .NET 3 >


 

 

USING VISUAL STUDIO 2005

TO BUILD AND RUN C++ .NET

CONSOLE MODE APPLICATION 2

 

 

 

  1. The following figure is the Visual Studio 2005 Integrated Development Environment (IDE).

 

Visual Studio 2005 Integrated Development Environemnt - IDE

 

  1. First of all we want to set the startup page to the last loaded solution. To accomplish this, select the Tools menu and Options… menu item.

 

Invoking the Visual Studio 2005 IDE Options page

 

  1. Expand the Environment and then select the Startup folder. Select the Load last loaded solution of the At startup: field on the right pane. Click OK to dismiss the project’s Options page. You can explore other settings as well.

 

 

 

 

 

-----------------------------------------------------------

Setting the last loaded solution on the Visual Studio startup page setting.

 

  1. Next we are going to build and run our first C++ CLR Console Mode Application. Select File Project… menu.

 

Creating a new C++ CLR .NET project

 

  1. In the New Project page, expand the Visual C++ folder and select the CLR. Then on the right pane, the Templates, select CLR Console Application. Fill-in the project name in the Name: field. In this case we put getdrive. Adjust the project location in the Location: field as needed. Click the OK button.

 

Selecting the project type - CLR C++ Console Mode Application

 

-------------------------------------------------------------------------------------------

 

 

Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7 | Part 8


 

< Build & Run C++ .NET 1 | Index #1 | Index #2 | Build & Run C++ .NET 3 >