O'Reilly logo

Professional Windows® Embedded Compact 7 by Thierry Joubert, David Jones, Samuel Phung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

INCLUDE THE BUILD OF A MANAGED CODE APPLICATION IN THE OS BUILD

OK, so you have managed to simplify things so that only one instance of Visual Studio is needed for managed code building. Debugging is a different issue, though. Wouldn’t it be even better if the .NET CF application could be included in the OS project and get built with it? Especially after that project has been developed and tested?

The approach used in this section works only in Compact 7 because it has a unified build system. This means that subprojects and the operating system are built using the exact same build tools. Previously, subprojects were built using a slightly different set of tools than those used for the OS.

Including a Managed Code Application in the OS Build

In this section the managed code project is merged into the OS project as a subproject.

1. Shut the image down.

2. Add the existing SubProject. (Right-click SubProjects folder.)

3. Browse the serial project drill down, and select the same .vbproj file.

4. You will get a message as shown in Figure 45-3.

Finally, Platform Builder is doing something to assist with managed code! It can assist with merging the managed code project by automatically adding the things such the parameter files, a solution file and so on.

5. Choose Yes.

6. The serial port project is now a fully fledged member of the OS project!

7. Try rebuilding it. Note ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required