Troubleshooting Exceptions: System.Deployment.Application.InvalidDeploymentException 

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

Associated Tips

  • 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 Deployment Overview.

See Also

Tasks

How to: Find Out More About an Exception with the Exception Assistant
Troubleshooting ClickOnce Deployment

Reference

InvalidDeploymentException

Other Resources

ClickOnce Deployment for Windows Forms