我创建一个应用程序(VS2005,C++窗体应用程序)是应该的,不会有Visual Studio中的任何版本和许多不同的机器工作,我想知道什么我应该担心。我正在使用Mysql连接器,所以显然运行它的机器需要有一些兼容的MySQL版本,但是从中可以看出,我还应该做些什么才能使它工作?我敢肯定,只是给了项目/ release文件是不够的.exe文件...Visual Studio 2005的应用程序的可移植性
编辑:我尝试了不同的机器上运行(与.NET,同样的MySQL,甚至相同的Visual Studio ),但是如果我尝试运行该exe文件,它会给我一个错误消息:“此应用程序启动失败,因为应用程序配置不正确。重新安装应用程序可能会解决此问题。”我也尝试建立在它(绝望的想法,因为它不具备连接器),它给了我下面的输出:
1>------ Build started: Project: Carna2e, Configuration: Debug Win32 ------
1>Copying 'f:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll' to target directory...
1>Build log was saved at "file://f:\Documents and Settings\User\Desktop\Carna2e\Carna2e\Debug\BuildLog.htm"
1>Carna2e - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
这里是构建日志,即(如它应该)同用输出:
Build Log:
Build started: Project: Carna2e, Configuration: Debug|Win32
Command Lines Copying 'f:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll' to target directory...
Results Build log was saved at "file://f:\Documents and Settings\User\Desktop\Carna2e\Carna2e\Debug\BuildLog.htm"
Carna2e - 0 error(s), 0 warning(s)
修正:显然,我也不得不已安装的连接器...
你会告诉我们你的应用程序开发的语言/框架是什么? – 2009-08-11 17:08:28
大多使用C++,在问题 – Ant 2009-08-11 17:42:01