Building and Installing the application in the device(Compact frame work)

  • Thread starter Malathi T via DotNetMonster.com
  • Start date
M

Malathi T via DotNetMonster.com

Hi,

I have an XML file called Settings.xml which has the key and values for the IP Address, server name etc. When I tried to build and launch the application into the device via the MSI, my Settings.xml is not getting loaded in to the device. (It is not in the cab file). But if I buid the cab files uisng the BUILD CAB under the Build Menu, I could see the contents of the xml file in the clear text format, and it runs properly according to the configuration settings in the xml file. Could any help me to load the the xml file in to the device when I am still using the MSI to launch the application into the device.

Thanks!!
Malathi

*****************************************
* This message was posted via http://www.dotnetmonster.com
*
* Report spam or abuse by clicking the following URL:
* http://www.dotnetmonster.com/Uwe/Abuse.aspx?aid=df418b782a324f8d927d6e60e844821f
*****************************************
 
D

Darren Shaffer

Set the Build Action property on your Settings.xml file to "Content" in
Visual Studio, then rerun Build CAB
to ensure it is included in the smart device application CAB.

- Darren haffer
 
G

Guest

I found that I forgot to copy and past the new version of the INF file after
including the Settings.xml in the project. I realized that I copied and
pasted the new inf. Now it works fine.

Thanks for the reply
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top