简体   繁体   English

Visual Studio 2022 WinForm 发布文件夹

[英]Visual studio 2022 WinForm publish folder

i have created a WinForm application and i tried to publish it but i have many questions about this publish process.我创建了一个 WinForm 应用程序并尝试发布它,但我对这个发布过程有很多疑问。

  1. Why does Visual studio create the app folder in C:\Users\'Username'\AppData\Local\Apps\2.0?为什么Visual Studio会在C:\Users\'用户名'\AppData\Local\Apps\2.0中创建app文件夹?

  2. Is there a way install the app.exe in another folder such as "ProgramFiles"?有没有办法将 app.exe 安装在另一个文件夹中,例如“ProgramFiles”?

  3. How does this publish thing really work, is there a documentation about it?这个发布的东西到底是如何工作的,有没有关于它的文档?

  4. What is the AppName.application file that is created after publishing?发布后创建的 AppName.application 文件是什么?

I am worried about this because i want to create a Themes folder and i don't want the app folder to be so deep into the folder tree.我很担心这一点,因为我想创建一个 Themes 文件夹,我不希望 app 文件夹在文件夹树中太深。

The app folder in C:\Users'Username'\AppData\Local\Apps\2.0 is a system folder, it is used to hold temporary data for.Net Framework apps installed on your PC. C:\Users'用户名'\AppData\Local\Apps\2.0中的app文件夹是一个系统文件夹,用于存放PC上安装的.Net Framework应用程序的临时数据。 you have nothing to worry about with that folder.您不必担心该文件夹。 . . . .

You can install the.exe and publish the solution in the folders that you want, you can do it by using ClickOnce deployment to a folder.您可以安装 .exe 并将解决方案发布到您想要的文件夹中,您可以通过使用 ClickOnce 部署到文件夹来实现。

Here is a Microsoft documentation how to use it. 是 Microsoft 文档如何使用它。

暂无
暂无

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

相关问题 在 Visual Studio 2022 中,发布到 IIS 返回构建错误,但是发布到文件夹是可以的(之前一切正常) - In Visual Studio 2022, publish to IIS returns a build error, but publish to Folder is ok (and it was all working fine before) 使用 FTP 发布在 Visual Studio 2022 中不可用 - Publish with FTP not available in Visual Studio 2022 将 Visual Studio 2022 更新到 17.0.4 后发布 Blazor WASM 错误 - Publish Blazor WASM error after update Visual Studio 2022 to 17.0.4 Visual Studio 2022 发布菜单中没有 ftp 菜单。 如何通过 ftp 发布? - There is no ftp menu in Visual Studio 2022 publish menu. How can I publish via ftp? Visual Studio 2022 将引用的 dll 放入 bin 文件夹的子目录中 - Visual Studio 2022 place referenced dll into subdirectory of bin folder Visual Studio 2022 winform 设计器不在任何控件的属性 window 中显示 ApplicationSettings - Visual Studio 2022 winform designer does not show ApplicationSettings in the property window of any control Visual Studio 2022 发布 window 警告我有关 Azure 应用服务不支持 Win-x64 - Visual Studio 2022 Publish window warning me about Azure App Service not supporting Win-x64 在 Visual Studio 中使用自定义应用程序根文件夹发布 c# 项目 - Publish c# Project with Custom App Root folder in Visual Studio 如何发布 x86 文件夹 Visual Studio 2008? - How to publish x86 folder Visual Studio 2008? 如何从Visual Studio发布中排除bin文件夹? - How can I exclude the bin folder from Visual Studio publish?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM