Before you use a file extension icon, please add it to your project as Robin suggested. So it can be published along with your app. For ProgID, I would like to introduce you the following document. For overriding an existed file extension. I did a test on my computer. It seemed the file association information has been written to the register under the existed file extension node. Your ClickOnce app appears in the Open With list when you right click the file with that extension. When you selected the icon via the Application tab, it should have copied it over to the same folder as your project, and should show it in the top level of the project.
Click on the icon and set the properties for the icon file there. Thank you for your post in MSDN forum! Some clarification with you. Would you like to deploy your project via ClickOnce? Based on your description, it seems that your concern might be occurred during deploying your project via ClickOnce. Frankly speaking, here is. Thank you for your understanding!
Best Regards. Larcolais Gong. Please remember to mark the replies as answers if they help and unmark them if they provide no help. I type ". It brings up a file browser and I select the same icon I used under the Application tab the file MyApp.
Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. ClickOnce and Setup. Sign in to vote. I have a console application that I'm deploying using ClickOnce. Once the user installs the program the associations are set but the associated program is the installer and not the actual program. How can I get the association to be the actual program and not the installer?
You stated it "launches the installer" when you double click a file; does your application start after that? Could you explain the final result you are expecting?
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 12 years, 1 month ago. Active 7 years, 7 months ago. Viewed 6k times. Add a comment. Active Oldest Votes. However, a ClickOnce application can override the file extension for the current user only. After that ClickOnce application is uninstalled, ClickOnce deletes the file association for the user, and the per-machine association is active again.
The following code example illustrates fileAssociation elements in an application manifest for a text editor application deployed using ClickOnce. Skip to main content.
0コメント