as promised let’s continue with answering the 2nd question.
Question:
What if some developers rather use a command line than the PlatformBuilder IDE?
Answer:
Well this is a simple task. Starting with Windows CE 5.0 Microsoft introduced a feature called unified build. This great feature ensures that the outcome of a command line build is exactly the same as the outcome of a PlatformBuilder IDE. This is possible as the IDE is just a thin layer above the command line and hence there is a one-to-one mapping of the command line calls to the IDE. But you might find that you can not just use any command line it has to be one that you open from within the PlatformBuilder IDE. Now why is that? Well, when opening a command line from within the PlatformBuilder IDE, wince.bat is called which sets up the command line for you in accordance with the specific project settings.
NOTE:
Please don’t call wince.bat directly, we will discuss how to set up a command line outside of the PlatformBuilder IDE when answering the 4th question, so please be patient.
Now there are multiple possibilities to open a command line from within the PlatformBuilder IDE:
- From the IDE select Build -> Open Release Directory in Build Window
- Right clicking the desired directory in the Solution Explorer and selecting Open Build Window will open a command line with the correct path to that directory
So as you see as a developer you can either use the command line or the PlatfromBuilder IDE to build your system. The output will be the same.
Have fun!
Read more! Post this to a friend!