Visual Studios EXE。 [英] Visual Studios EXE.

查看:114
本文介绍了Visual Studios EXE。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在打开我在另一台计算机上使用visual studio 2012创建的.exe文件时遇到问题。另一台计算机没有Visual Studios如何制作一个能够在任何计算机上打开的.exe而无需再安装额外的
软件或视觉工作室。我想与很多人分享.exe并且不希望他们安装任何其他东西。

解决方案

嗨sullitri,


>>如何制作.exe,无需再安装其他软件或视觉工作室即可在任何计算机上打开


有两种可用的技术,设置项目和clickonce。


1,设置项目:


1.1 ,请在您的解决方案中添加一个安装项目:



1.2,添加您要共享的.exe文件:




1.3,右键单击.exe文件创建快捷方式。然后将其拖放到用户的桌面文件夹中:



1.4,通过右键单击构建安装项目:



然后安装它:



1.5,查找您文件夹中的安装文件,并将其分享给其他人。


2,ClickOnce:


2.1,右键单击要共享的项目,然后选择属性:



2.2,在发布标签中设置内容然后点击立即发布按钮:



2.3,查找您文件夹中的安装文件,并将其分享给其他人。



请参阅以下链接,了解有关设置项目和clickonce的更多详细信息:


设置项目:https://www.youtube.com/watch?v=z0v6hmumCFU


https://www.add-in-express.com/docs/net-msi-setup-project.php


ClickOnce: https://www.youtube.com/watch?v=t4BTLdIMYEY


https://www.codeproject.com/Articles/17003/ClickOnce-Quick-steps-to-Deploy-Install-and-Update



希望它有所帮助!


最好的问候,


Stanly



I am having a problem opening an .exe file that i created using visual studios 2012 on another computer. The other computer does not own Visual Studios how can i make an .exe that will be able to be opened on any computer without installing additional software or visual studios again. I would like to share the .exe with many people and do not want them to have to install anything else.

解决方案

Hi sullitri,

>>how can i make an .exe that will be able to be opened on any computer without installing additional software or visual studios again

There are two available technologies, setup project and clickonce.

1, Setup project:

1.1, Please add a setup project in your solution:

1.2, Add the .exe file which you would like to share:

1.3, Create shortcut via right click the .exe file. Then drag and drop it to User's desktop folder:

1.4, Build the setup project via right click:

Then install it:

1.5, Find the install file in your folder and share it to another people.

2, ClickOnce:

2.1, Right click the project which you want to share then select the properties:

2.2, Set something in the publish tab then click the publish now button:

2.3, Find the install file in your folder and share it to another people.

And please refer the below link about more details about setup project and clickonce:

Setup project:https://www.youtube.com/watch?v=z0v6hmumCFU

https://www.add-in-express.com/docs/net-msi-setup-project.php

ClickOnce:https://www.youtube.com/watch?v=t4BTLdIMYEY

https://www.codeproject.com/Articles/17003/ClickOnce-Quick-steps-to-Deploy-Install-and-Update

Hope it helps!

Best Regards,

Stanly


这篇关于Visual Studios EXE。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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