Steven
Steven

Reputation: 69

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.

  1. Why does Visual studio create the app folder in C:\Users\'Username'\AppData\Local\Apps\2.0 ?

  2. Is there a way install the app .exe in another folder such as "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?

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.

Upvotes: 1

Views: 1335

Answers (1)

KHL
KHL

Reputation: 475

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. 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.

Here is a Microsoft documentation how to use it.

Upvotes: 2

Related Questions