如何修复 - 调试断言失败 - 将工作的Visual Studio 2005代码从一台PC远程复制到另一台PC时 [英] How to Fix-Debug Assertion Failed - When copy a working Visual Studio 2005 code from one PC to other PC remotely

查看:187
本文介绍了如何修复 - 调试断言失败 - 将工作的Visual Studio 2005代码从一台PC远程复制到另一台PC时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS 2005上开发了一个应用程序..,它的工作正常。但是当我将程序从我的PC远程复制到其他PC时,它没有运行,显示为Debug Assertion Failed..,如何修复这个?帮助我......

I have developed a application on VS 2005.., Its working fine. But when I copy the program from my PC to other PC remotely, Its not running, showing as " Debug Assertion Failed ".., How to fix This one ? help me on that .....

推荐答案

这有点模棱两可......但我会试一试......



如果你的意思是转移你的exe:

0.如果你得到一个调试断言,你要复制调试可执行文件,你可能不会想要这样做。

1.要重新分配你的程序,你应该建立发布版本。

2.包括作为你的程序一部分的dll。如果您使用MFC,则可能还需要使用可安装所需dll的可再发行组件包。只需搜索可再发行的安装程序(通常它包含在一个Visual Studio文件夹中,或者您可以从MSDN下载)。
This is slightly ambiguous... but I'll give it a shot...

If you mean transferring your exe:
0.If you're getting a debug assertion, you're copying the debug executable, which you probably don't want to do.
1.To redistributate your program, you should build the "release" version.
2.Include dlls that are included as part of your program. If you used MFC, you likely also need to use the redistributable package that installs required dlls. Just search for the redistributable installer (usually it's included in one of the Visual Studio folders or you can download it from MSDN).


这篇关于如何修复 - 调试断言失败 - 将工作的Visual Studio 2005代码从一台PC远程复制到另一台PC时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆