.NET 应用程序无法在 Windows CE 5.0 上运行
我有一台带有 Windows CE 5.0 和 .NET CF 2.0 的设备3.5安装就可以了。 当我复制 .NET CF .exe 文件并执行它时,它无法运行并显示错误:
“找不到‘Test2’(或其组件之一)...”
出了什么问题?
I have a device with Windows CE 5.0 with .NET CF 2.0 & 3.5 installed on it.
When i copy a .NET CF .exe file and execute it, it can't be run and shows an error :
"Cannot find 'Test2' (or one of its components)..."
what's wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先要做的就是从设备中删除 CF 2.0。您没有说明它们是如何安装的,但我假设您是从 Platform Builder 目录中添加的。由于构建过程中的 SYSGEN 重叠,这样做实际上会破坏两者。无论如何,您不需要两者,3.5 运行时将毫无问题地加载并运行 2.0 程序集。
First thing to do is to remove CF 2.0 from the device. You've not said how they are both installed, but I'll assume that you added both from the Platform Builder catalog. Doing that actually breaks both due to a SYSGEN overlap in the build process. You don't need both anyway, the 3.5 runtimes will load and run a 2.0 assembly with no problem.