问题描述
我在将我的应用部署到袖珍电脑模拟器时遇到了磁盘空间问题.
Iv been encountering problems with disk space when deploying my app to a pocket pc emulator.
那么Iv所做的就是在我的电脑上设置一个共享目录来模拟SD卡,Iv手动将程序复制到那里然后从模拟器运行它,使用这种方法我仍然需要进行visual studio部署以便复制 .net 紧凑型框架.
So what Iv done is set up a shared directory on my pc to simulate a SD card, Iv copied the program there manually and then run it from the emulator, with this approach I still need to do the visual studio deployment as well so that so that the .net compact framework gets copied over.
如何将 Visual Studio 部署到共享目录?输出文件夹"显示为灰色,我只能从预定义位置列表中进行选择.
How do I make visual studio deploy to the shared dir? The 'Output file folder' is grayed out and I can only choose from a list of pre-defined locations.
抱歉,也许我想不清楚,当我说我只能从预定义位置列表中进行选择"时,我指的是 [..] 菜单中的选项.我需要某种自由文本输入.我想要类似 d:MyShare 的东西.
Sorry maybe I want not clear, when I said "I can only choose from a list of pre-defined locations", I was referring to the the options in the [..] menu. I need some sort of free text entry. I want something like d:MyShare.
我认为最好的方法是手动编辑解决方案 xml,但这似乎是一种糟糕的方法?
The best I was thinking is to manually edit the solution xml, but that seems a poor approach?
推荐答案
属性"->设备"下的输出文件夹"是灰色的,但它右侧的 [...] 按钮不是.在那里调整.
The "Output File Folder" under Properties->Devices is greyed out, but the [...] button just to the right of it isn't. Adjust it there.
注意:为了澄清,您单击 [...] 按钮会出现一个对话框,该对话框允许您从设备中选择一个文件夹(设备上的输出位置")并输入一个额外的子文件夹(子目录").现在,您似乎被迫在此处使用特定文件夹,但下拉选项之一是根文件夹",即".然后,您可以添加您的文件夹,例如存储卡"作为子目录,并获得存储卡"的部署文件夹.直觉的?不可以.但是您可以构建您想要的任何输出文件夹.
NOTE: To clarify, You click on the [...] button and you get a dialog that allows you to select a folder from the device ("Location of output on device") and enter an additional subfolder ("Subdirectory"). Now it may seem that you're forced to use a specific folder here, but one of the dropdown options is "Root Folder" which is "". You can then add your folder, like "Storage Card" as the Subdirectory and get a deployment folder of "Storage Card". Intuitive? No. But you can construct any output folder you want.
这篇关于将应用程序部署到 Windows Mobile Pocket PC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!