Deploying to Program Files directory

前端 未结 2 618
情话喂你
情话喂你 2021-01-19 07:13

I have developed a C# application and I would like to deploy it to the C:\\Program Files\\Company Name\\Product folder. I am not seeing the \"Company Name\" fo

相关标签:
2条回答
  • 2021-01-19 07:56

    Did you specify the company name in the assembly info?

    To find out where it is, right click on the start menu icon and go to properties. It will tell you where it is.

    Edit: I'm dumb. If you want to do an install to Program Files\Comapny Name, use an installer project not click once. Click once is going to keep it where it can track it for versioning.

    0 讨论(0)
  • 2021-01-19 08:18

    You cannot do that using ClickOnce, since its main advantage is that it doesn't require write access to the Program Files folder.

    0 讨论(0)
提交回复
热议问题