Creating a Project

Page update date :
Page creation date :

In order to create software, you first need to create a "project", so let's create it first. The software used here is "Microsoft Visual Studio 2005 Standard Edition", but if it is the same series of software, there should be almost no difference.

First, let's start the software. Click "All Programs" from "Start" at the bottom left of the screen. Of course, it is assumed that you have installed everything you need before using the software.


Find Microsoft Visual Studio 2005 in the program and click it.

Microsoft Visual Studio 2005

This will start Visual Studio 2005. The layout and other screen contents may differ from the figure below depending on the version and settings.

Microsoft Visual Studio 2005

Let's create a project. Select "Project" from "New" under "File" in the menu above.


Then, you will see a dialog like the one below. For the project type, select "Windows" in "Visual C#", and here "Template" selects "Windows Application". The "project name" below is basically anything, but for the time being we will leave it as "Sample" for the time being, and in "Location", enter the path where you want to create the project. As for "solutions", there is not much need to use them for small projects. If it seems to be a big project such as full-fledged software production, please set it up. Once entered, press the "OK" button.

*In Visual Studio 2005 Express Edition, specify the save destination when you close the solution.


After the dialog closes, after a while, the window placement screen as shown below will be displayed. (Please wait as it will take a little time)


This is the end of creating the project, but let's play around a little more. Let's press the "Start Debugging" button (button below) on the toolbar. If not, select "Start Debugging" from "Debug" in the menu above. In the future, starting debugging will be referred to simply as "execute".

ツールバー デバッグ開始メニュー デバッグ開始

Then, after a while after the build starts, you will see a window like the one below. Simply put, building means creating an executable based on the source code you create.


In this way, if you just want to display the window, you can create a program that displays the source code completely untouched. It also comes with basic window resizing from the start. By the way, in the .NET Framework, windows are called forms. Both forms and windows have basically the same meaning. To finish debugging, close the window displayed earlier by pressing the "×" button in the upper right.

That's it for now, so let's close the project. It's perfectly fine to leave Visual Studio itself as is, but if you only want to close the project, choose Close Solution from the File menu menu.


When you want to edit a project from the continuation

Basically, it's normal to edit a project from the continuation, so I'll show you how to do it. There are several ways to do this.

Visual Studio Open menu

After you start Visual Studio, choose Project/Solution from the Open menu.


The solution file you want to re-edit ". sln" file.


Open from the start page

If the start page opens when you open Visual Studio, you can simply click on it because there is a link to the project in Recent Projects.


Open from a file

In Windows Explorer or similar, open the directory where the project is located and click "Solution File". sln" or drag and drop the file into Visual Studio to open it.