Debugging and Deployment Settings for Visual C++ Device Projects
Visual C++ device projects support properties that are not supported for Visual C++ desktop projects. These properties are set on the project's property page.
Visual C++ device projects have the following unique property pages:
You can access device project property pages in the following ways:
In Solution Explorer, right-click the project, and click Properties.
In Solution Explorer, click the project name, and then on the Project menu, click Properties.
When debugging an ATL .exe project such as when the deployment target is Windows CE 5.0 SDK with DCOM support, set the Register Output setting in the Project Properties to YES and add /RegServer to the Command property. This will register the .exe when you start debugging. For more information, see Deployment, Configuration Properties, <Projectname> Property Pages Dialog Box (Devices).
When you deploy a native device project, dependent projects may not deploy automatically with the native device project, and may require separate deployment.
The deployment switch in the Devenv.exe command line is not supported for Visual C++ device projects. For more information, see /Deploy (devenv.exe).