可以部署但不能调试 .NETCF 3.5 应用程序到设备

发布于 2024-09-07 21:07:16 字数 220 浏览 3 评论 0原文

我有一个在 VS2008 中为 .Net Compact Framework 3.5 编写的软件应用程序。我可以通过 Activesync 连接到我的设备并毫无问题地部署应用程序。部署后我可以毫无问题地在设备上启动该应用程序。但是,如果我尝试连接并调试应用程序,我会收到一条无用的消息,显示“发生了严重错误”,并且我失去了调试连接。

有人遇到过类似的事情吗?关于首先检查什么有什么想法吗?

谢谢

I have a software application written for .Net Compact Framework 3.5 in VS2008. I can connect to my device via Activesync and deploy the application without problems. I can launch the app on the device after deployment without a problem. However, if I try to connect and debug the app, I get an unhelpful message that says "A serious error has occurred" and I lose my debug connection.

Has anyone encountered something similar? Any ideas on what to check first?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

沙与沫 2024-09-14 21:07:17

确保您已安装 Studio 的所有服务包。

Make sure you have all service packs for Studio installed.

猥琐帝 2024-09-14 21:07:17

也许您发现了 VS2008 调试限制。如果你的目标堆超过 32MB,你就完蛋了。

你可以检查这个:
https://support.microsoft.com/en-au/kb/973905
但这对我不起作用。

我删除了堆密集型的东西,比如静态对象、字符串、位图、yadda yadda,这很好,直到你再次遇到 32MB 的墙。
皮塔饼。

祝你好运

Probably you discovered the VS2008 debugging limit. If your target heap goes over 32MB you are screwed.

you can check this:
https://support.microsoft.com/en-au/kb/973905
but it didn't work for me.

I removed heap intensive stuff like static objects, strings, bitmaps, yadda yadda and that's fine until you hit the 32MB wall again.
PITA.

Good Luck

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文