I\'ve got a WPF application that references a WPF controls library. When I try to launch (myWindow.Show()) a window that is inside the control library, I get the following e
Does the window defined in the control library access the System.Deployment namespace? Do you have a stack trace that we could take a look at?
The MSDN documentation for InvalidDeploymentException states that this exception indicates that the system "could not read either the deployment or application manifests".
Some googling indicates that this exception could be raised when accessing the System.Deployment.Application.ApplicationDeployment.CurrentDeployment property, and the application is not a ClickOnce application. I suspect that for this window you are using, the controls library is accessing this property or something similar in the System.Deployment namespace.