PRB: Selecting "Save Emulator State" During Smart Devices Emulator Shutdown Can Cause Visual Studio .NET to Not Deploy Application to Emulator (813575)
The information in this article applies to:
- Microsoft .NET Compact Framework
Beta Information This article discusses a Beta release of a Microsoft
product. The information in this article is provided as-is and is subject to
change without notice.
No formal product support is available from
Microsoft for this Beta product. For information about how to obtain support
for a Beta release, see the documentation that is included with the Beta
product files, or check the Web location from which you downloaded the release.
SYMPTOMSIf you select Save Emulator state when you
shut down Microsoft Pocket PC 2002 Emulator before the debugger stops and then
you try to deploy the same application again, you may receive the following
error message and Visual Studio .NET does not deploy the application to Pocket
PC 2002 Emulator: There were deployment errors.
Continue? CAUSEThis problem occurs because there is a file sharing
violation. By default, application files are saved in the My Device\Program Files\ApplicationName folder in Smart Device Emulator.
ApplicationName is the same name as your smart
device project. When you select Save Emulator state during
shut down, Emulator retains the files under My Device\Prgram Files\ApplicationName folder. When you try to deploy the application again immediately
after shut down, Visual Studio .NET does not deploy the application because of
the filesharing violation.WORKAROUNDTo work around this problem, use one of the following
methods:
- In the Shut Down dialog box, select
Turn off Emulator, and then click
OK.
- Use Soft Reset on the
Emulator menu.
- Stop the application, and then Save Emulator State. To stop
the application, use one of the following methods:
- Close the application by using Running
Programs screen of the Emulator.
- On the Debug menu of Visual Studio
.NET 2003, click Stop Debugging.
STATUS This
behavior is by design.REFERENCESFor more information, visit the following Microsoft Web
site: Smart Devices 1.0:10272
Modification Type: | Major | Last Reviewed: | 10/9/2003 |
---|
Keywords: | kbDeviceSpecific kbEmulation kberrmsg kbDeployment kbDebug kbprb KB813575 kbAudDeveloper |
---|
|