Hi
Was working on automating the deployment of our ClickOnce application at customer servers (lots of mage.exe calls) to be as handsfree as possible and ran into a strange error when testing:
"Deployment manifest requires that you specify a publisher and a product"
Sure enough, the manifest included an empty string for the publisher. Okay, so I started looking for a -Publisher commandline option but none was to be found. Huh? Fired up Reflector and quickly found that the Publisher info is taken from the registry (LocalMachine\Software\Microsoft\Windows NT\CurrentVersion@RegisteredOrganization).
Is this not a bit too un-flexible, are there not scenarios where you would like to insert a specifically named publisher (hence the missing commandline option)? Is this a design decision with a reasoning I just can't figure out or did the dev team just not have the time to parse another commandline argument
?
Anyway, are my only options to edit the manifest-xml directly and resign or any other ideas?
As an aside I found a reported error at Connect, issue ID 121176 that seems to relate to this issue