部署架构问题 [英] Deployment schema problem
问题描述
我从FooXXX改变了我的应用程序名称和命名空间以及给FooYYY。
VS改变应用到所有文件。我已经检查了所有的命名空间,名称等,项目编译但是当我要部署到仿真器或一个设备,它崩溃,立竿见影。没有交战,没有消息,也不例外。只有spash屏幕显示,然后OS回来开始屏幕。
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.
我提出这个解决方案的副本,我已经改变了所有的名字,再次namspaces现在的应用程序编译和部署,但我有两个消息:
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:
消息2未能找到元素http://schemas.microsoft.com/client/2007/deployment架构信息:Deployment.Parts。
Message 2 Could not find schema information for the element 'http://schemas.microsoft.com/client/2007/deployment:Deployment.Parts'.
消息1未能找到元素架构信息'http://schemas.microsoft.com/client/2007/deployment:Deployment 。
Message 1 Could not find schema information for the element 'http://schemas.microsoft.com/client/2007/deployment:Deployment'.
任何线索casuses崩溃?
Any clue what casuses the crash?
推荐答案
勾选启动对象,在项目属性页。有时需要手动被设置/时,应用程序的名称空间改变纠正。
Check the "Startup Object" in the project properties page. The sometimes requires manually being set/corrected when the namespace of the app is changed.
这篇关于部署架构问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!