不使用Visual Studio运行Visual Basic应用程序 [英] Run Visual Basic Application without Visual Studio

查看:147
本文介绍了不使用Visual Studio运行Visual Basic应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我有一个用Visual Basic制作的应用程序,我想在另一台计算机上运行。但是我不想为这个应用程序进行安装,我不想在那台计算机上安装Visual Basic或Visual Studio。

这可能吗?如果是,我该怎么做?

感谢您的帮助

Hello,
I have an application made in Visual Basic which I want to run on another computer. But i don't want to make an Install for this application and I don't want to install Visual Basic or Visual Studio on that computer.
Is that possible? If yes, how can I do that?
Thank you for help

推荐答案

您不需要在其他计算机上安装Visual Studio您需要运行应用程序。确保您的应用程序所针对的.net框架安装在这些计算机中。

您可以使用Bin> debug或Bin> Release文件夹中生成的exe文件尝试上述。作为另一种方法,您可以将安装项目添加到您的应用程序并为安装创建安装文件

Visual Studio Windows应用程序安装项目 [ ^ ]

您甚至可以添加所需的.net框架作为先决条件,然后它将自动下载并安装.net框架(如果不可用)在客户端计算机中,查看以下文章以获取更多信息

在Visual Studio安装项目中添加.NET Framework的先决条件 [ ^ ]
you don't need to have visual studio in other computers which you need to run the applications. Make sure that .net framework which your application targeted, installed in those computers.
You can try above using the exe files generated in Bin>debug or Bin>Release folders. As another approach you can add setup project to your application and create setup file for installations
Visual Studio Windows Application Setup Project[^]
you can even add required .net framework as prerequisite and then it will automatically download and install .net framework if it is unavailable in client computer, check below article for more information
Add Prerequisites of .NET Framework in Visual Studio Setup Project[^]


这篇关于不使用Visual Studio运行Visual Basic应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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