简体   繁体   中英

Deploy config files along with exes and dlls on windows CE device

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

来自IDE的快照

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM