问题
I have changed my app name and namespaces as well from FooXXX to FooYYY. VS applied changes to all files. I've checked all namespaces, names etc, project compiles but when I want to deploy it to emulator or to a device it crashes straight away. No warring, no message, no exception. Only spash screen is shown and then OS gets back to start screen.
I made a copy of this solution and I've changed all names, namspaces again and now app compiles and deploys, but I have two messages:
Message 2 Could not find schema information for the element 'http://schemas.microsoft.com/client/2007/deployment:Deployment.Parts'.
Message 1 Could not find schema information for the element 'http://schemas.microsoft.com/client/2007/deployment:Deployment'.
Any clue what casuses the crash?
回答1:
Check the "Startup Object" in the project properties page. The sometimes requires manually being set/corrected when the namespace of the app is changed.
回答2:
I had the same problem but it was due to the WCF RIA Services link.
- In the project properties change the WCF RIA Services link to
- Save and close the tab
- Change to the previous link
- Save
回答3:
I got a problem like this and it was a problem inside WMAppManifest.xml file under Properties. Look at the TokenId, default page etc...
回答4:
To resolve this, I actually just restarted VS2012.
来源:https://stackoverflow.com/questions/4915816/deployment-schema-problem