将项目升级到VS 2012 Update 2 CTP失败... [英] Project upgrade to VS 2012 Update 2 CTP fails...
问题描述
我有一个Visual Studio 2012 LightSwitch项目,我想升级到最新的Update 2 CTP 4并添加HTML客户端.
I have a Visual Studio 2012 LightSwitch project that I want to upgrade to the latest Update 2 CTP 4 and add an HTML Client.
但是,VS无法升级项目.在升级日志中出现以下错误:
However, VS is unable to upgrade the project. I get the following error in the upgrade log:
在尝试升级之前,我已经确认:
Before trying to upgrade, I have made sure:
1.该项目的构建没有任何错误.
2.清除清单缓存.
3.成功清理项目.
1. The project builds without any errors.
2. Cleaned out the manifest cache.
3. Cleaned the project successfully.
我在这里缺少明显的东西吗?欢迎任何建议.
Am I missing something obvious here? Any suggestions are welcome.
谢谢
推荐答案
以前看过这个.我唯一能想到的就是专心于消息的意思:
Have seen this before. Only thing I can think of is to concentrate on exactly what the message is saying:
对象引用未设置为对象的实例"
"Object reference not set to an instance of an object"
检查是否已实例化所有引用的对象.有时,即使先前的测试可行,您仍可能会错过一个.此更新可能会更好地捕获错误.有时,如果之后没有实际引用对象 您进行构建后,它就会潜行.希望这会有所帮助.
Check that all objects referenced have been instantiated. Sometimes you can miss one even though the prior runs worked. This update may be just a little better at catching errors. Sometimes if an object isn't actually referenced after you do a build, it will sneak through. Hope this might help.
这篇关于将项目升级到VS 2012 Update 2 CTP失败...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!