制作visual studio桌面应用程序的软件(exe) [英] making software(exe) of visual studio desktop application

查看:493
本文介绍了制作visual studio桌面应用程序的软件(exe)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个简单的桌面应用程序。现在我想把它交给别人。我是学生。我怎么能做到所以没有视觉工作室就可以运行。我的朋友在他的药店使用它..现在我怎样才能以软件的形式制作它?

i made a simple desktop application . now i want to give it to someone else. i am a student. how can i make it . so it can run without visual studio. my friend use it in his medicine store.. wel now how can i make it in the form of software?

推荐答案

取决于你的申请,但如果它是独立的,只需从发布(或调试)目录中复制文件(根据您在编译时选择的选项)并将其移交。确保您的朋友安装了适当的框架(您在项目属性中定位的框架)
Depends on your application, but if it's independent, just copy the files from release (or debug) directory (depending what option you chose when you compiled it) and hand them over. Ensure that your friend has proper framework installed (the one you targeted in your project properties)


假设您要求分发您的应用程序,我将创建一个安装项目并将您的版本EXE添加到它,以及可能需要的任何其他文件。
Assuming you are asking about distributing your app, I would create a Setup project and add your release EXE to it, along with any other files that might be needed.


对于visual studio 2008-2012的Windows应用程序

你只需复制发布目录内容并且



在目标计算机上安装visual studio安装的dotnet框架版本



然后只需复制目标计算机中所需文件夹中的发布目录内容。它执行简单的..它不会要求任何其他设置
in the case of windows applications of visual studio 2008-2012
you simply copy the release directory contents and

install the dotnet framework version of the visual studio install in the destination computer

then simply copy the release directory contents in a desired folder in the destination computer . it execute simple ..it would not ask any other setups


这篇关于制作visual studio桌面应用程序的软件(exe)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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