|
-
July 13th, 2009, 05:51 AM
#1
Need help with publishing
I am trying to get ClickOnce to add 4 .xml files that my app uses for configuration data, to the application's folder when installed. The intent is to install skeleton versions of these 4 files once upon initial installation of the app. If the user modifies them after that, they won't be replaced by the installer.
So, I copy the 4 .xml files to the project folder and add them to the project. Edited the properties of each file, and selected "Copy if newer" for "Copy to output directory".
However, when I install the app it does not copy these files over.
So, back to VS - in the Publish tab I select Application Files (and check Show all files) but those 4 don't show up in the list... so I suspect that is why they aren't being installed.
How can I resolve this?
Using VS2008 with .Net 3.5SP1
-
July 13th, 2009, 11:03 AM
#2
Re: Need help with publishing
I'm a little confused here. When you say you added these 4 files to the project did you add them to the project you're making an installer for, or the installer project itself?
All you should need to do is Right click the installer project -> Add -> File
This is assuming that you're using the "Setup Project" for the installer.
-
July 13th, 2009, 11:10 AM
#3
Re: Need help with publishing
By "project" I mean the VS project folder.. where all the XAML, C# code, etc etc lives.
There is no "installer project"... it's a simple ClickOnce install.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|