Blend 4 - Design View在wpf projekt Vs2010中不起作用 [英] Blend 4 - Design View dont work in wpf projekt Vs2010
问题描述
您好。
我有一个我们一直在研究的Wpf项目,突然Blend中的Design View(Artboard)只显示Xaml代码? (我们无法打开设计视图)
我可以在Vs2010中看到图形,但在Blend中看不到。
我创建了一个有问题的小项目。 (18k)
$
我知道问题出现在.sln文件中。
该项目是从Vs2010开始创建的。没有从旧版本升级。
Hi.
I have a Wpf project we been working on and suddenly the Design View (Artboard) in Blend only shows Xaml code? (We can't open the Design View)
I can see the graphics in Vs2010 but not in Blend.
I have created a small project with the problem. (18k)
I know that the problem is somewhere in the .sln file.
The project is created from start in Vs2010. No upgrade from old versions.
我想知道是否有人可以看看项目并看看问题是什么?
I wonder if someone can take a look at the project and see what the problem is?
我们在Windows7和XP上尝试过该项目。
Blend 4 Sp1。
Vs2010
We tried the project on Windows7 and XP.
Blend 4 Sp1.
Vs2010
http:/ /www.pixcode.se/projekt/Info_v3_Not Working Blend4.rar
http://www.pixcode.se/projekt/Info_v3_Not Working Blend4.rar
祝你好运,
Henrik
Best regards,
Henrik
推荐答案
项目的输出类型为exe,而不是WinExe。 更改< OutputType>标记为:
The project has an output type of exe, instead of WinExe. Changing the <OutputType> tag to:
< OutputType> WinExe< / OutputType>
<OutputType>WinExe</OutputType>
为我设计适当的设计表面。您可能还想将平台从x86更改为AnyCPU。
Makes the design surface load properly for me. You may also want to change the platform from x86 to AnyCPU.
这篇关于Blend 4 - Design View在wpf projekt Vs2010中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!