Compact 2013 Ebook

16.2 Create an SDK
Created by djones on 6/18/2013 10:17:52 AM

Create and build the OS

1. Develop and test a Retail version of the OS that includes:

  • Application Builder Debugging Support
  • Remote Tools Support
  • The required program APIs
  • Corecon3 (Or can be downloaded at runtime)
  • Installer
  • Cabinet(*.cab) File Installer/Uninstaller
  • Headless Cabinet(*.cab) File Installer/Uninstaller

    The Generic OS for Application Development at the end of the Application Development chapter has all of these components.

2. Do a clean build of the OS

3. Test the OS.

Create an SDK for a Compact 2013 OS

1. Detach the OS if running.

2. Create a new SDK from within the OS project.
Project –> Add New SDK ..

3. Complete the SDK property pages and press [OK]

4. All of the General properties must be entered

Warning: Give the SDK a unique name (e.g. MySDK) because you can’t install two SDKs with the same name on a development system

SDKs are located in the OS Solution tree below Favorites

5. If you want to revisit the SDK property pages, Right-Click on it in Solution Explorer

6. Right-click on the new SDK and select Build to build the SDK

7. Explorer the SDK contents:

  • Right-click on the SDK and select Explore

Note that that the installer (.msi) is in the MSI subfolder. This is run to install the SDK.

8. Explore the obj\My,SDK folder. This is the files that are added to the SDK:

  • obj\MySDK\SDK contains the tools to build the SDK apps
  • obj\MySDK\csharp contains the files for the C# project templates
  • obj\MySDK\vc contains the files for the native code (C++) project templates
  • obj\MySDK\visualbasic contains the files for the VB project templates
  • obj\MySDK\Windows Embedded Compact contains the files for the Windows Embedded XAML project wizard.
  • etc.

9. Install the SDK by running its installer.

Note that this SDK can be installed on other development systems that have the following installed (You don’t need Compact 2013 Platform Builder):

  • Visual Studio 2012 and Update 2
  • Compact 2013 App Builder

SDK templates in Visual Studio 2012

The SDK installs templates for new application projects for the OS. To access them:
File—>Add—>New Project
Depending upon what APIs you have in the OS, the new SDK templates will be located under the programming languages under Windows Embedded Compact\SDK1 as in Figure 16.1

clip_image002

Figure 16.1: SDK Native Code Templates

 

Do not add an SDK project to the OS solution at this stage.


NEXT: 16.3 Create native code applications with the SDK template

print

Click here to provide feedback and input

  Comments

There is no comment.

Turkish porno izle video site in rokettubeporno izle