Create an SDK (Compact 7)
After you build an OS for the first time, you typically download the OS to the device, run the OS, and perhaps debug it. However, in this guide, before you download the OS to the device, you learn how to create an SDK to provide to an application developer. The SDK specifies the set of APIs that the application developer can use to create an application for a device that runs on the OS that you designed. Platform Builder creates the SDK in the form of a Windows Installer file (MSI). An application developer installs the SDK on a development computer and then can create a smart device application for the device in Visual Studio without using Platform Builder. For more information about smart device application development, see Smart Device Development.
You can add an SDK to your OS design at any time, but for your SDK build to succeed, you must build (or have previously built) your OS before you build the SDK.
To create an SDK
In Platform Builder, in Solution Explorer, click your OS design project.
On the Project menu, click Add New SDK to open the SDK Property Pages dialog box.
In the left pane of the SDK Property Pages dialog box, click General.
Enter an SDK name, product name, product version, company name, and company website.
In the left pane of the SDK Property Pages dialog box, click Install.
In the right pane of the SDK Property Pages dialog box, either accept the file location and name or browse to a different MSI folder path or type a different MSI file name.
In the left pane of the SDK Property Pages dialog box, click CPU Families.
Select the configuration for Virtual PC x86 Debug.
In the left pane, click Development Languages.
If you want to include support for managed application development, select Managed development support. You do not need to select this option for this guide.
Click OK to close the SDK Property Pages dialog box.
In Solution Explorer, right-click the SDK name and click Build.
After the build is complete, the MSI file appears in the MSI folder path that you selected in the SDK Property Pages dialog box.