Hi,
I have a few questions.
1. What's the configuration settings you have mentioned? Is it the
configuration file of the application with the name of appname.exe.config?
The configuration file of a ClickOnce application, i.e appname.exe.config
will reside in the Application directory after the application is installed
on a client pc. This directory is where the application's executable (.exe)
files and assemblies reside. You have mentioned that the "configuration
settings" is in data folder, which is not the normal place for the
configuration file.
2. What is the 'Publish Status' of the xml data file have you set?
If you set the 'Publish Status' of the xml data file to "Data File", this
file will reside in the Data directory in the end user's Local Settings
folder after installation. If you set the 'Publish Status' of the xml data
file to "Include", the file will be output to the Application directory.
To set the 'Publish Status' of an xml data file, you should set the 'Build
Action' of the xml file to 'Content' first (to do this, right-click the xml
file in Solution Explorer and select Properties, set the 'Build Action'
property in the Properties window). Then right-click the project in
Solution Explorer and choose Properties. In Project Designer, switch to
'Publish' tab and click 'Application Files' button. In the Application
Files window, you can set the 'Publish Status' of the xml file.
3. Do you mean that you can deploy the same ClickOnce successfully
including the configuration file and an xml data file to a user's desktop,
while you couldn't do this on a terminal server? If so, could you tell me
what the OS is on the terminal server and what software you have installed
on it?
I look forward to your reply.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.