Question

I have a WPF solution (C# & VS 2012) that calls an external EXE. I've added a reference to the external EXE in the main (Dashboard) project.

The solution is getting packaged into the ClickOnce package and published. The issue I'm running into is that the CONFIG file for the external EXE is not getting picked up in the ClickOnce package. When I open the Application Files window on the Publish tab in VS2012 it shows the external EXE.

But the configuration file for external EXE is not listed, even with the "Show All Files" checkbox selected.

So my question is:

Is there a way to either manually add a config file to the ClickOnce deploy package or somehow coerce it to see the config file?

This is my first ClickOnce deployment project so I'm struggling a little here and any assistance would be appreciated!

Thanks!

UPDATE/SOLUTION FOUND: After much web surfing I found an fix for this issue. Here's the posting on MSDN that helped me MSDN: ClickOnce and External config. This at least solved the issue for me in the short term. As noted in the MSDN post it can cause issues down the road if the external config changes frequently.

Was it helpful?

Solution

UPDATE/SOLUTION FOUND: After much web surfing I found an fix for this issue. Here's the posting on MSDN that helped me MSDN: ClickOnce and External config files. This at least solved the issue for me in the short term. As noted in the MSDN post it can cause issues down the road if the external config changes frequently.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top