简体   繁体   English

如何发布 windows 应用程序并且只发布 get.exe 文件?

[英]How to publish a windows application and only get .exe files?

When i publish my application i get these types of files This is what it looks like , but other applications look like this without deploy extensions I only want exe files and dlls and paks like a standard application has not .deploy files.当我发布我的应用程序时,我得到这些类型的文件这是它的样子,但其他应用程序看起来像这样,没有部署扩展我只想要exe文件和dllspaks ,就像标准应用程序没有.deploy文件一样。 Do i just remove them?我只是删除它们吗?

I've tried changing the config manager from debug to release but it still does the same thing.我尝试将配置管理器从调试更改为发布,但它仍然做同样的事情。

When you publish the application via ClickOnce, you will use "setup.exe" to install the application, rather than the exe you mentioned.当您通过 ClickOnce 发布应用程序时,您将使用“setup.exe”来安装应用程序,而不是您提到的 exe。

If you want to remove the .deploy file extension, you can uncheck Use ".deploy" file extension by the following steps.如果要删除.deploy文件扩展名,可以通过以下步骤取消选中Use ".deploy" file extension

在此处输入图像描述

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

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