简体   繁体   English

从WPF / Win Form应用程序连接到Win CE设备,而无需安装Visual Studio

[英]Connect to Win CE device From WPF/Win Form Application Without Installing Visual Studio

I am developing a tool to view information, Files and folders of wince device in WPF. 我正在开发一种工具来查看WPF中Wince设备的信息,文件和文件夹。 I am able to connect, Disconnect and View Folder structure by following sample from this link . 通过跟踪此链接中的示例,我可以连接,断开连接和查看文件夹结构。

Everything works fine on developer machine. 在开发人员机器上一切正常。 My machine is Windows XP and I am using VS2008.But when I take WPF exe and run it on a machine where only .net framework installed I am not able to connect to device. 我的计算机是Windows XP,正在使用VS2008,但是当我使用WPF exe并在仅安装.net框架的计算机上运行时,我无法连接到设备。 Then I installed .net Compact Framework 3.5, and followed same steps provided in link except i don't have visual studio installed on that deployed machine. 然后,我安装了.net Compact Framework 3.5,并按照链接中提供的相同步骤进行了操作,除了在部署的计算机上未安装Visual Studio。

Please provide me steps to connect to device without installing Visual Studio. 请提供我不安装Visual Studio即可连接到设备的步骤。 And Am not sure whether it will connect to device without visual studio. 而且不确定是否可以在没有Visual Studio的情况下连接到设备。 So please help. 所以请帮忙。

CoreCon is installed by Visual Studio, and is not available separately. CoreCon由Visual Studio安装,并且不能单独使用。

If you want to manipulate the device's file system from your PC, and the device is connected using ActiveSync/Windows Mobile Device Center, you can use the Remote API, RAPI. 如果要从PC操纵设备的文件系统,并且使用ActiveSync / Windows Mobile设备中心连接了设备,则可以使用远程API RAPI。 If you want to use C#, you can use the OpenNETCF Desktop Communication Library , which wraps up RAPI. 如果要使用C#,可以使用OpenNETCF桌面通信库 ,其中包含RAPI。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM