Creating Projects in Visual Studio .NET
Up Java Resources C++ Resources Comp410

All Visual Studio work is contained in "projects".    Multiple projects can be contained in a single "solution".

Steps to create a new C# Windows Application project in VS.NET:

  1. Start up VS.NET  (duh.)
  2. From the "Start Page", select "New Project".
  3. Select "Windows Application" -- or whatever type of project you want.
    1. Rename the project if you desire.   Note that this will be your namespace name.
    2. Change the project directory if you wish.
    3. If you wish to create a solution to hold multiple projects, click on "More" and then check the "Create Directory for Solution" box and enter a solution name.
  4. Click "OK" and VS.NET will create a Windows form with the following characteristics:
    1.  Class name:  "Form1"  -- Change this!
      1. Right click the name of the file in the Solution Explorer pane and change it.
      2. Change the name under "Design" in the form's Properties pane.
    2. A Main() method that instantiates the form.
      1. Note that when you change the name of the form's class, VS is not smart enough to change the name of the class being intantiated.   Double click anywhere on the form designer to get to the code so you can change it manually.
  5. Click the little VCR-like play button on the top menubar to compile and run the project.