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:
- On the File menu in Visual Studio, point to New and then click Project. The New Project dialog box appears.
- In the Project types tree, expand the Visual C# node, and then click Micro Framework.
- In the Templates pane, choose Window Application.
- In the Name box near the bottom of the dialog box, type HelloWorld.
- 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
andGPIOButtonInputProvider.cs
. - Press F5 to run the program. The emulator, which resembles a hand-held device with a screen and five buttons, appears on your screen.
- Click any of the buttons. The application displays the text “Hello, World” on the emulated device’s screen.