We have this document generation app that uses WCF for connecting to our middle-tier server. In order for users to run the application, they need .NET Framework 3.0 installed on their machines. To accomplish this task, I decided to use ClickOnce since it will download the pre-requisites during the installation process. However, when I tried publishing the application, to our intranet, I ran into this issue with the process:
No 'PublicKey' or 'Hash' attribute specified for file 'NETFX30\Dotnetfx3.exe' in item '.NET Framework 3.0'.
No 'PublicKey' or 'Hash' attribute specified for file 'NETFX30\Dotnetfx3_x64.exe' in item '.NET Framework 3.0'.
Yeah, ambiguous as heck! The actual problem is that the DNFX3 redistributables (x86 and x64) are not a path for the BootStrapper to find (Thanks to Kirupa for blogging about this).
Once these files were in place, everything worked like a charm.