If you are getting the following error on its own in a message box:
Exception from HRESULT: 0x80041001
Whilst trying to update your WCF service reference then it can't access either the .map file or the C# source file. I happened to have them open in visual studio whilst trying to update the reference!!
Oddly if you open them after running the program then it doesn't moan... For some reason I think it may be to do with clickonce locking the files.Permalink