I have been trying to publish a winforms application via ClickOnce but on installation, receive an error box with the message "Cannot download the applicaion. The application is missing required files.".
The file that is missing is */MyApp.exe.config.deploy". Looking in the publish location, that file is indeed missing, but there is a file called "app.config.deploy" and another called "MyApp.exe.deploy".
If I rename "app.config.deploy" to "MyApp.exe.config.deploy" I end up with the error "Could not find... ...app.config.deploy".
If I rename "MyApp.exe.deploy" to "MyApp.exe.config.deploy" I end up with the error "Could not find... ...MyApp.exe.deploy".
There is another file called "App.Debug.config.deploy" - if I rename that, again it ends up with the error "Could not find... ...App.Debug.config.deploy".
Idly renaming files seemed like a reasonable quick test to see if ClickOnce was just getting itself a bit muddled, but has left me thinking that I must have missed something somewhere and that the file "MyApp.exe.config.deploy" is just plain missing.
If anyone can advise and help get this working, it would be appreciated.