Deployment schema problem

血红的双手。 提交于 2020-01-15 05:47:06

问题


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.

  1. In the project properties change the WCF RIA Services link to
  2. Save and close the tab
  3. Change to the previous link
  4. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!