Visual studio 2008 我应该在哪个模拟器上安装哪个版本的CF,以及如何安装?

Visual studio 2008 我应该在哪个模拟器上安装哪个版本的CF,以及如何安装?,visual-studio-2008,compact-framework,windows-ce,emulation,entry-point,Visual Studio 2008,Compact Framework,Windows Ce,Emulation,Entry Point,在尝试确定为什么我的Windows CE Compact Framework应用程序将编译但不会在我的设备上运行时,我在应用程序的入口点中放置了断点和MessageBox.Show() public static int Main(string [] args) 但是在我的断点处没有中断,并且我的MessageBox.Show()永远不会显示 我甚至没有使用模拟器达到这一点;使用“Windows Mobile 6 Classic”仿真器,我得到: “HHS.exe中出现意外错误。 选择退出然后

在尝试确定为什么我的Windows CE Compact Framework应用程序将编译但不会在我的设备上运行时,我在应用程序的入口点中放置了断点和MessageBox.Show()

public static int Main(string [] args)
但是在我的断点处没有中断,并且我的MessageBox.Show()永远不会显示

我甚至没有使用模拟器达到这一点;使用“Windows Mobile 6 Classic”仿真器,我得到:

“HHS.exe中出现意外错误。 选择退出然后重新启动此程序,或选择详细信息以了解更多信息。 此应用程序需要比此设备上安装的版本更新的Microsoft(R).NET Compact Framework版本。”

那么如何在模拟器上安装更新版本的CF呢

或者我应该使用不同的模拟器?另一个更适合我的情况吗实际的目标设备是Symbol/Motorola 3[0,1]90,一个带有CE5+CF1,另一个带有CE6+CF3.5

项目“目标设备”下拉列表中的所有可用模拟器包括:

Pocket PC 2003 SE Emulator
Pocket PC 2003 SE Square Emulator
Pocket PC 2003 SE Square VGA Emulator
Pocket PC 2003 SE VGA Emulator

USA Windows Mobile 5.0 Pocket PC R2 Emulator
USA Windows Mobile 5.0 Pocket PC R2 Square Emulator
USA Windows Mobile 5.0 Smartphone R2 QVGA Emulator

Windows Mobile 6 Classic Emulator <= I was using this one
Windows Mobile 6 Professional Emulator
Windows Mobile 6 Professional Square Emulator
Windows Mobile 6 Professional Square QVGA Emulator
Windows Mobile 6 Professional Square VGA Emulator
Windows Mobile 6 Professional VGA Emulator
Pocket PC 2003 SE仿真器 Pocket PC 2003 SE方形仿真器 Pocket PC 2003 SE方形VGA模拟器 Pocket PC 2003 SE VGA模拟器 美国Windows Mobile 5.0 Pocket PC R2模拟器 美国Windows Mobile 5.0 Pocket PC R2 Square Emulator 美国Windows Mobile 5.0智能手机R2 QVGA模拟器
WindowsMobile6ClassicEmulator,所以你不能仅仅创建一个新的CF应用程序,放入一个断点,点击F5(在调试配置中),然后让它在断点处停止?您的开发环境听起来很可疑。我整天都这样。诚然,我很少使用模拟器,但我知道它也能工作。尤其是对于CE设备,因为在CE4.2之后没有合适的仿真器,所以您确实需要在设备上单步执行代码。我建议安装一台scratch PC,安装VS和SDK,看看是否可以调试到一个简单的HelloWorld应用程序中;它们从来都不是,也不是为那只曾经在这里制造了这场混乱的猫,我的意思是……不管怎样。“在设备上”部分是问题所在-我可以将PC连接到设备,但从未有过VS=>设备连接。