Can I give an emulator more disk space?

和自甴很熟 提交于 2019-12-11 07:40:36

问题


The compilation of my Compact Framework app (.NET 3.5, VS 2008) failed with this error:

Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\hhs\system.data.dll'. Error 0x80070070: There is not enough space on the disk.

Selecting Tools > Device Emulator Manager shows me nothing promising; nor does Project > Properties > Devices.

UPDATE

Vasiliy, is this what you meant? I:

0) Created a folder on my C drive named "VirtualStorageCardForNewHHSCFVS2008"

1) In Project > Properties > Devices > Output file folder, I changed the settings from this:

...to this:

...but now I get different err msgs. If I simply shut down the emulator as soon as it pops up, I get, "The RPC server is unavailable"

Thereafter, on attempting to run it, I get, "Deployment and/or registration failed with error: 0x8973190e. Error writing file '\Windows\NETCFv35.ppc.armv4.cab'. Error 0x80070070: There is not enough space on the disk. Device Connectivity Component"

UPDATE 2

I don't see a "Compress" option in my Project Properties; in fact, the whole collection of members are radically different:


回答1:


Take all the extra applications off of your Emulator.

It should have NOTHING on it but the essentials. Bare bones, if you like.

So, how do your DLL files get copied over to your device?

Simple! That happens when you start your debugger because your Project will be set to deploy everything it needs and it can compress the files (the compression helps, but it may not be necessary when starting the debugger).




回答2:


You can use StorageCard to deploy you application. The storage card on emulator is any folder on the host machine.

To select the StorageCard directory go to Emulator properties.




回答3:


The error message may be misleading. It says that you're lacking disk space but what you may actually be lacking is RAM in the emulator. Windows CE implements a RAM-based file system named Object Store and if you didn't change the deployment locations of your app it will be deployed in RAM. You can add RAM to the emulator image, change your deployment location or change the percentage of RAM reserved for the object store in the system applet inside control panel.




回答4:


Actually my problem was a corrupted installation of the Compact Framework 3.5 in the dev machine. I re-installed it and no more "not enough space on disk" misleading error. http://www.microsoft.com/en-ca/download/details.aspx?id=65



来源:https://stackoverflow.com/questions/19415366/can-i-give-an-emulator-more-disk-space

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!