Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Silverlight 表达式Blend 2中WPF中不支持UserControl的错误_Silverlight_Expression Blend - Fatal编程技术网

Silverlight 表达式Blend 2中WPF中不支持UserControl的错误

Silverlight 表达式Blend 2中WPF中不支持UserControl的错误,silverlight,expression-blend,Silverlight,Expression Blend,我已经在VisualStudio中创建了一个测试Silverlight 2应用程序,只是,但当我在Blend中打开它时,会出现此错误 在Windows演示基础(WPF)项目中不支持用户控件 这是XAML代码 <UserControl x:Class="MyFirstApp.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micro

我已经在VisualStudio中创建了一个测试Silverlight 2应用程序,只是,但当我在Blend中打开它时,会出现此错误

在Windows演示基础(WPF)项目

中不支持用户控件 这是XAML代码

<UserControl x:Class="MyFirstApp.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <StackPanel Orientation="Vertical">
            <TextBox x:Name="myTextBox" FontSize="60" />
            <Button Content="Click Me" FontSize="60" Click="Button_Click" />
        </StackPanel>
    </Grid>
</UserControl>


我是否缺少引用或其他内容?

您需要安装。

请查看此线程: