1

I'm creating some Excel add-in. I distribute those add-ins via ClickOnce. In each add-in there is an .CHM help: in the property of this file, I set Copy to Output Directory to Copy always.

enter image description here

If I check the deploy folder, I can't file the help file.

What is the correct practice to add files to the ClickOnce deployment?

Application Properties

enter image description here

NajiMakhoul
  • 1,623
  • 2
  • 16
  • 30
Enrico
  • 3,592
  • 6
  • 45
  • 102

1 Answers1

0

Go to Application Properties -> publish tab , click on Application Files and set Publish Status for the file to Include.

UPDATE: For VSTO Project: Change the fie properties Build Action to Content

Application Files button not exists in Application Properties -> publish tab for VSTO Projects

NajiMakhoul
  • 1,623
  • 2
  • 16
  • 30