Silverlight 表达式Blend 2中WPF中不支持UserControl的错误
我已经在VisualStudio中创建了一个测试Silverlight 2应用程序,只是,但当我在Blend中打开它时,会出现此错误 在Windows演示基础(WPF)项目中不支持用户控件 这是XAML代码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
<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>
我是否缺少引用或其他内容?您需要安装。请查看此线程: