项目代码到软件的发布或发布 [英] Project code to software publish or release

查看:63
本文介绍了项目代码到软件的发布或发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,我已经用C尖锐的源代码创建了一个计算器,我希望它可以将项目发布到我的计算机上.但是我不知道如何将其从源代码发布/发布到可用软件.

Sir, I have created a calculator in C sharp source code, I want it to release my project to my computer. But I do not know how to do in order release/publish it from source code to usable software.

推荐答案

如果只想在计算机上使用它, 不必做任何事情.

只需浏览到项目解决方案的bin/debug文件夹并为应用程序可执行文件创建快捷方式-您可以在将图标拖到桌面或任何需要的位置时按住ALT键来实现此操作.
您可以先编译要发布的版本(在这种情况下,它位于bin/release文件夹中),方法是单击VS工具栏上的下拉菜单,其中显示调试"并选择发布".重建,您的文件将准备就绪.进行发行版编译意味着您可以进行更改而不会影响当前版本的使用,直到准备就绪为止.

如果要在其他计算机上使用它,则需要设置一个Intallation程序包-在VS中创建一个新项目,然后在其他项目类型...设置和部署"下查看.应该有一个向导可以为您完成大部分工作.
If you only want to use it on your computer, you don''t have to do anything.

Just browse to the bin/debug folder of your project solution and make a shortcut to the application executable - you can do this by holding down the ALT key while you drag the icon to the desktop, or wherever you want it.
You can compile it for release first - in which case it is in the bin/release folder - by clicking the dropdown on the VS toolbar where it says "debug" and selecting "release". Rebuild and your file will be ready. Compiling for release means that you can make changes without affecting how you use the current version until you are ready.

If you want to use it on other computers, you need to set up a Intallation package - create a new project in VS and look under "other project types...Setup and deployment". There should be a wizard which will do most of the work for you.


阅读此MSDN文章:如何创建C#安装程序 [ ^ ]
.NET中的设置和部署过程 [
Read this MSDN article: MSDN: Deployment (How Do I in C#) [^]

Further have a look at other installer creation article:
How to create a C# installer[^]
Setup and Deployment Process in .NET[^]


这篇关于项目代码到软件的发布或发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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