Home All Groups Group Topic Archive Search About

ClickOnce issue with exe.config file

Author
16 May 2006 5:28 PM
Tony
I have a winforms app deployed via ClickOnce.
On some machines I'm getting a 404 error during install - but not all (which
is strange).

It appears that my application has a MyApp.exe.config file which is included
in the manifest but does not get deployed to the web server for some reason.
I can't figure out why it's not including the file. It shows up under
application files in the public tab of the project settings, is included
into the manifest but the file is not deployed.

Another note: This application uses a web service and when adding the web
service reference it creates an app.config (which I can't get rid of either
in vs2005 - I set the URL in code, and don't need the config file, never
needed it prior to vs2005). The content of the MyApp.exe.config is the same
as the content of the app.config - both were automatically created by
vs2005.

Any help with this would be greatly appreciated.

Thanks,
Tony

AddThis Social Bookmark Button