After running the publish wizard and running the setup.exe, a message box is shown saying that the "Application cannot be started. Contact the application vendor".ERROR DETAILSFollowing errors were detected during this operation.* [13/08/2008 11:07:34] System.ArgumentException- Value does not fall within the expected range.- Source: mscorlib- Stack trace:at System.Deployment.Internal.Isolation.IDefinitionAppId.EnumAppPath()at System.ActivationContext.CreateFromNameAndManifests(ApplicationIdentity applicationIdentity, String[] manifestPaths)at System.Deployment.Application.ActivationDescription.ToActivationContext()at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
Workaround
This is Known Issue Currently and Simple workaround is don't use "&" in File path of Clickonce publish location
The Issue expected to be Fix in Next version of .Net Framework