Microsoft KB Archive/813573

= PRB: Smart Device Application Fails to Deploy on Windows CE Emulator Started by Embedded Visual C++4.0 =

Article ID: 813573

Article Last Modified on 5/30/2007

-

APPLIES TO


 * Microsoft eMbedded Visual C++ 4.0
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer

-



SYMPTOMS
You can deploy an eMbedded Visual C++ 4.0 application or a Visual Studio .NET smart device application in Microsoft Windows CE .NET Device Emulator. However, while eMbedded Visual C++ 4.0 uses the Windows CE .NET Device Emulator, if you try to deploy a Visual Studio .NET smart device application, you may receive the following error message:

There were deployment errors. Continue?

Even if you click Yes, the smart device application does not deploy. The problem occurs only when the smart device application tries to share an instance of an emulator that eMbedded Visual C++ 4.0 starts. You can successfully deploy more than one smart device application in the same instance of an emulator that Visual Studio .NET launches.



RESOLUTION
To resolve this problem, turn off the Windows CE .NET Device Emulator that the eMbedded Visual C++ 4.0 application uses, and then use Visual Studio .NET 2003 to deploy the smart device application. Microsoft Visual Studio .NET (2003) deploys the smart device application in a new instance of Windows CE .NET Device Emulator.



STATUS
This behavior is by design.



MORE INFORMATION
Steps to Reproduce the Behavior
 * 1) Open eMbedded Visual C++ 4.0. On the File menu, click New.
 * 2) On the Project tab, select WCE Application . Type TestApplication in the Project name text box, and then click OK.
 * 3) In the WCE Application window, select A simple Windows CE application, and then click Finish.
 * 4) In the New Project Information window, click OK.
 * 5) On the Build menu, click Execute TestApplication.exe. Windows CE .NET Device Emulator starts.
 * 6) Open Microsoft Visual Studio .NET (2003). On the File menu, point to New, and then click Project.
 * 7) Under Project Type, select Visual Basic Projects or Visual C# Projects. From Templates, select Smart Device Application, and then click OK.
 * 8) In the What platform do you want to target? list, select Windows CE.
 * 9) In the What project type do you want to create? list, select Windows Application.
 * 10) Click OK.
 * 11) On the Debug menu, click Start.
 * 12) On the Deploy dialog box, select Windows CE .NET Emulator (Default), and then click Deploy.

Keywords: kbdevicespecific kbemulation kbdeployment kberrmsg kbprb KB813573

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.