Share via


Creating a New .NET Micro Framework Project

The .NET Micro Framework provides you with project templates that are automatically integrated into Visual Studio when you install the Platform SDK. When you start a new project, you can select from templates for creating a .NET Micro Framework application or a .NET Micro Framework class library.

To create a .NET Micro Framework project:

  1. On the File menu in Visual Studio, point to New and then click Project. The New Project dialog box appears.
  2. In the Project types tree, expand the Visual C# node, and then click Micro Framework.
  3. In the Templates pane, choose Window Application.
  4. In the Name box near the bottom of the dialog box, type HelloWorld.
  5. In the Location box, specify the folder that will contain your project, and then click OK. Visual Studio creates your project and automatically adds the files Program.cs and GPIOButtonInputProvider.cs.
  6. Press F5 to run the program. The emulator, which resembles a hand-held device with a screen and five buttons, appears on your screen.
  7. Click any of the buttons. The application displays the text “Hello, World” on the emulated device’s screen.