Cannot open xaml pages in Blend after installing Visual Studio 2012 Update 2 (CTP)

青春壹個敷衍的年華 提交于 2019-12-10 23:42:42

问题


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)...

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...

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'.


回答1:


Edited answer:

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




回答2:


Check that the platform configurations for all projects linked together in the solution match ("Any CPU" or "x86"). For more info, see:

http://blogs.interknowlogy.com/2013/04/05/blend-for-visual-studio-2012-platform-errors/

This also seems to be a problem with the RTW version of VS2012 Update 2. I experienced this with a solution containing WP8 and Win8 Metro projects.



来源:https://stackoverflow.com/questions/14842219/cannot-open-xaml-pages-in-blend-after-installing-visual-studio-2012-update-2-ct

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