安装Visual Studio 2012 Update 2(CTP)后无法在Blend中打开xaml页面

安装Visual Studio 2012 Update 2(CTP)后无法在Blend中打开xaml页面

问题描述:

此刻,我遇到了一些奇怪的事情.安装Visual Studio 2012 Update 2(CTP)之后,我将无法再在Blend Designer视图中正确打开xaml页面.

I am experiencing something weird at the moment. After I installed Visual Studio 2012 Update 2 (CTP), I can no longer open xaml pages properly in Blend designer view.

看起来找不到其他名称空间中的所有内容(请参见下面的屏幕截图)...

Looks like everything from other namespaces just cannot be found (see screenshot below)...

还请注意,如果我关闭所有xaml页面,则整个解决方案都可以编译,并且也可以正常运行.但是,一旦我打开任何xaml页面,它就会把那些错误扔给我...

Please also note that the whole solution compiles ok if I close up all the xaml pages, and runs well too. But as soon as I open any of the xaml pages, it will throw me those errors...

2013年5月13日更新 几天前(在我安装VS Update 2之后)只是一个更新,同样的错误再次出现.为了解决这个问题,我不得不将构建名称从其他名称更改为发布"(或调试"),并执行了清理"和构建".

UPDATE 13 MAY 2013 Just an update, a couple of days ago (after I installed the VS Update 2) the same error came back again. What I did to fix this was I had to change my build name from something else to 'Release' (or 'Debug') and did a 'Clean' and 'Build'.

修改后的答案:

更新到Visual Studio 2012 Update 2应该可以解决此问题: http: //microsoft.com/en-au/download/details.aspx?id=38188

Updating to Visual Studio 2012 Update 2 should fix the issue: http://microsoft.com/en-au/download/details.aspx?id=38188