Deployment schema problem

2019-07-16 13:37发布

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?

4条回答
来,给爷笑一个
2楼-- · 2019-07-16 13:43

Check the "Startup Object" in the project properties page. The sometimes requires manually being set/corrected when the namespace of the app is changed.

查看更多
家丑人穷心不美
3楼-- · 2019-07-16 13:44

To resolve this, I actually just restarted VS2012.

查看更多
够拽才男人
4楼-- · 2019-07-16 13:48

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
查看更多
来,给爷笑一个
5楼-- · 2019-07-16 13:58

I got a problem like this and it was a problem inside WMAppManifest.xml file under Properties. Look at the TokenId, default page etc...

查看更多
登录 后发表回答