简体   繁体   English

在.NET中创建安装程序包运行时

[英]Create Setup package runtime in .NET

I want to create one application which created Setup file for Window Desktop application runtime with all resource file which application needed. 我想创建一个应用程序,该应用程序使用所需的所有资源文件为Window Desktop应用程序运行时创建安装文件。

Is this possible? 这可能吗? If yes then how I can do this? 如果是,那我该怎么做?

Your .sln in VS/Add/New Project/Other Project Types/Setup and Deployment/Setup Project Now Application Folder/Add/Project Output/Your app + whichever parts of your app you want deployed. VS / Add / New Project /其他项目类型/ Setup and Deployment / Setup Project中的.sln现在Application文件夹/ Add / Project Output /您的应用程序+您要部署的应用程序的任何部分。

Also, to have the resource files included - you can either embed them in your executable or make them copied to your output directory (file/Properties/"Build Action" & "Copy to Output Directory") 另外,要包含资源文件,您可以将它们嵌入可执行文件中,也可以将它们复制到输出目录(文件/属性/“构建操作”和“复制到输出目录”)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM