Troubleshooting Exceptions: System.Deployment.Application.InvalidDeploymentException


An InvalidDeploymentException exception is thrown when the application or its application and deployment manifests are not valid.

Make sure the manifests for this application are valid.

An application manifest is an XML file that describes and identifies the shared and private side-by-side assemblies that an application should bind to at run time. These should be the same assembly versions that were used to test the application. Application manifests may also describe metadata for files that are private to the application.

Use the ClickOnce feature to deploy the application.

Use ClickOnce to publish Windows applications to a Web server or network file share for simplified installation. For more information, see ClickOnce Security and Deployment.