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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access