运行在另一台计算机上使用Visual Studio构建的exe文件的问题 [英] problems with running exe file built with Visual Studio on another computer

查看:142
本文介绍了运行在另一台计算机上使用Visual Studio构建的exe文件的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio在C + +中创建了客户端服务器应用程序。

I created a client server application in C++ using Visual Studio.

现在我想在另一台计算机上运行客户端exe文件安装)
但是当我尝试运行exe文件时,它会出现以下错误信息:

Now I want to run the client exe file on another computer (which doesn't have Visual Studio installed) but when I try run the exe file it gives the following error message:


此应用程序无法启动,应用程序
配置不正确。重新安装应用程序可能会修复此
问题。

This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

如何运行exe文件而不在计算机上安装任何东西? / p>

How can I run the exe file without installing anything on the computer?

推荐答案

我在发布时部署了我的程序而不是调试,现在exe在其他计算机上工作

I deployed my program in release instead of debug and the exe now works on the other computer

这篇关于运行在另一台计算机上使用Visual Studio构建的exe文件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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