Export (0) Print
Expand All

Building Applications and Core Tasks

This section describes how to install the .NET Compact Framework, compile at the command line, and perform common and useful tasks. Some tasks require interoperating with native code.

Note that the .NET Compact Framework does not support the new mdgb.exe debugging tool provided by the .NET Framework version 2.0. The cordbg.exe tool is deprecated in version 2.0 of both Frameworks.

In This Section

How to: Install the .NET Compact Framework

Describes how to invoke a wizard that installs the .NET Compact Framework on your computer and on your device.

How to: Configure Runtime Version

Shows how you can run an application built with a different version of the .NET Compact Framework.

How to: Compile at the Command Prompt

Describes how to create batch files for targeting the correct assemblies to compile Visual Basic and Visual C# applications at the command prompt.

How to: Get the Device Platform

Shows how to platform invoke native code to get the device platform, such as Pocket PC or Smartphone.

How to: Get the Application Directory

Shows how to determine the path of the current running application.

How to: Get the Device ID and Name

Shows how to get the name of the device and how to use platform invoke to get the Device ID.

How to: Get or Set the System Time

Shows how to platform invoke native code to set and get the system time.

How to: Get Device Memory

Shows how to platform invoke native code to get the device memory.

How to: Reset the Device

Shows how to platform invoke native code to reset the device.

How to: Play Sounds

Shows how to platform invoke native code to play sounds.

How to: Install Assemblies in the Global Assembly Cache

Describes how to install assemblies in the .NET Compact Framework GAC.

Related Sections

Interoperability in the .NET Compact Framework

Describes the capabilities for interoperating with native code using the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft