为什么我安装的应用程序无法运行?
我有一个运行良好的 .NET 3.5 应用程序。安装也正常运行,并且应用程序在安装后可以正常运行。
我修复了一些错误并重新构建了设置,但现在我无法运行已安装的应用程序。我完全删除了旧的安装,重新安装,当我运行它时,我得到:
Data Tool has stopped working...
Windows is checking for a solution to the problem...
- 我什至没有得到 .net 异常...
- 从发布文件夹运行有效。
- 如果我将文件从发布文件夹复制到(并覆盖)“程序文件”,它会运行
有什么想法吗?
更新:
我正在使用 VS2008 部署项目来构建我的安装程序...
I've got a .NET 3.5 Application that was working well. The installation was also working and the application functioned properly after installation.
I've fixed a few bugs and rebuilt the setup but now I can't get the installed application to run. I'm completely removing the old install, re-installing and when I run it I get the:
Data Tool has stopped working...
Windows is checking for a solution to the problem...
- I don't even get a .net exception...
- Running from the release folder works.
- If I copy the files from the release folder into (and overwrite) 'Program Files' it runs
Any ideas?
Update:
I'm using a VS2008 deployment project to build my installer...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在安装项目中删除并重新添加了“主输出”,似乎已修复它。
我整个早上都在努力解决这个问题!
Deleted and re-added the 'Primary Output' in the setup project and it appears to have fixed it.
I've been trying to work this out all morning!