Currently I am deploying my windows CE application on windows CE platform from vs 2008. It is running fine.
My only problem is I want to deploy config files along with exes and dlls. Currently when I deploy, only exes and dlls are deployed but not the config files.
Properties for each config files are "Content" and "Copy always".
Please help how can I deploy config files as well?
In your Solution Explorer, right-click the config file that you want to deploy and select properties. In the properties window, select 'Copy Always
' in 'Copy to Output Directory
'
In your deployment project, make sure you include the folder where you've saved the config files. This link explains how to add items to your deployment
Note: If you are using Publish
from your solution explorer, then select Build Action
as None
and Copy to Output Directory
as Do not copy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With