Assemblies and Xmls to Embed

dotnetgirl

Freshman
Joined
Oct 14, 2003
Messages
26
Location
India
Hello,

i have got three Xml files that have user related data. The appliation is a desktop application.

On installing , the files need to be hidden from user but will be updated. So, i want to embed these in my application's main assembly. But the resources allowed are bitmaps(images) and strings.

Can i embed these xmls?
Also, i want to store the currently used XML file names by user. is it a good idea to store them in app.exe.config file?

Thanks.
 
Hi,
A1)You can only store/embed xml as read only resources in your assembly. You can maybe make them hidden with the install?
A2) Yes, it is always better to store them in the config file. (remove hardcoding from your app)
Hope it helps
 
Back
Top