从Visual Basic 2008项目生成exe文件 [英] build exe file from visual basic 2008 project

查看:81
本文介绍了从Visual Basic 2008项目生成exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我有一个vb 2008代码项目,我需要构建exe文件

我该怎么做,请注意我们的客户没有Visual Basic 2008软件..so如何建立vb 2008项目的exe文件并在未安装Visual Basc 2008的其他计算机中运行


谢谢

Hi everybody

I have a vb 2008 code project i need to build the exe file

how could I do this please note that our clients do not have visual basic 2008 software..so how can I build the exe file of vb 2008 project and run it in other machines where visual basc 2008 is not installed


Thanks

推荐答案

您不需要在客户端计算机上安装VS.客户端计算机上应安装有.Net Framework.

在发布模式下构建项目时,可以在bin/release文件夹中找到exe文件.

您应该在VS2008中创建一个设置项目,并将.Net framework标记为先决条件.这应该在需要的客户端计算机上安装框架.查看有关如何创建设置项目的MSDN.
You do not need to have VS installed on the client computers. Client machines should have .Net Framework installed on them.

When you build the project in release mode, you can find the exe files in bin/release folder.

You should create a set up project in VS2008 and mark .Net framework as a pre requisite. This should install the framework on client computer is needed. Check out MSDN on how to create set projects.


客户端不应该安装VS2008,而它们所需要的只是运行时框架.
您需要在您的计算机上构建该exe,然后将其部署(复制)到客户端PC上.
The client should not be installing VS2008 - all they should need is the runtime framework.
You need to build the exe on your machine and then deploy (copy) it on the client PC.


要跟进d @ nish的解决方案这是部署项目的MSDN链接.本文介绍了为项目创建安装程序包的步骤.

Windows Installer部署任务VS 2008:
http://msdn.microsoft.com/en-us/library/ybshs20f (v = VS.90).aspx [
To follow up on d@nish''s solution here is the MSDN link to deploying your project. the article explains the steps to creating an installer package for your project.

Windows Installer Deployment Tasks VS 2008:
http://msdn.microsoft.com/en-us/library/ybshs20f(v=VS.90).aspx[^]


这篇关于从Visual Basic 2008项目生成exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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