winform项目安装部署出现问题

编程爱好者L 2010-10-17 05:36:13
刚刚做好了一个winform项目,但是在部署安装完成后点击运行,Tcp传输数据的时候程序就会自动关闭退出,错误也没有弹出,这种情况有人遇到过吗?
...全文
132 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
编程爱好者L 2010-10-19
  • 打赏
  • 举报
回复
自己搞定了 哈哈 原来是路径的问题.....
编程爱好者L 2010-10-18
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 wuyq11 的回复:]
系统出错了,try catch
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(UnhandledExceptions);
private void UnhandledException……
[/Quote]
不太明白,如果我不使用Tcp传输数据,打包上去就可以运行..
wuyq11 2010-10-17
  • 打赏
  • 举报
回复
系统出错了,try catch
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(UnhandledExceptions);
private void UnhandledExceptions(object sender, UnhandledExceptionEventArgs args)
{ }

编程爱好者L 2010-10-17
  • 打赏
  • 举报
回复
系统必备的我都打包了,在VS上运行是正常的,但是打包以后就不行了.
laj0600310219 2010-10-17
  • 打赏
  • 举报
回复
你打包的时候有没有把必须的动态链接库都打包进去了?

111,129

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧