i have created a WinForm application and i tried to publish it but i have many questions about this publish process.
Why does Visual studio create the app folder in C:\Users\'Username'\AppData\Local\Apps\2.0 ?
Is there a way install the app .exe in another folder such as "ProgramFiles"?
How does this publish thing really work, is there a documentation about it?
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.
CodePudding user response:
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.