Frederik,
You should be able to add the file to your project, and then when you
publish the project, any changes you make to the file will be pushed to the
publish location (and subsequently pushed to the client).
If you are doing this manually, then you can add the following XML to
the manifest, and it should work as well (as long as you have the filename
listed as the original, with a .deploy extension, e.g. myfile.xml.deploy):
<file name="filename.xml" size="62711">
<hash>
<dsig:Transforms>
<dsig:Transform
Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"
/>
<dsig:DigestValue>rgfvBpE6wde7ze5xOiojX+dgOic=</dsig:DigestValue>
</hash>
</file>
A few notes here. The name attribute on the file element is the name of
the file. The size is the length in bytes.
The dsig:DigestValue element is the base64 representation (I believe) of
the hash of the file using the SHA1 algorithm.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Frederik12" <fr********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi all,
Using the ClickOnce tool in VS 2005 Express, I wonder if I can update
other files then just the main executable. My application uses an xml
file that changes frequently, independently of the application version.
Can this be done with ClickOnce or should I use something like the
Application Block Updater to do this task?
Thanks in advance,
Frederik