WPF使用resx强类型化资源
晕了 问题很严重 错误	
2	未找到类型“x:staitc”。请确保不缺少程序集引用,并且已生成所有引用的程序集。	D:\WInDowDoc\LocationResoucesDemo\WPFLocationResources\Window1.xaml	7	90
但是我明明加了 名称空间的
  xmlns:resx="clr-namespace:WPFLocationResources.Properties"
这是代码:
<Window x:Uid="Window_1" x:Class="WPFLocationResources.Window1"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:resx="clr-namespace:WPFLocationResources.Properties"
     Title="WPF" Height="300" Width="300" WindowStartupLocation="CenterScreen">
     <Grid x:Uid="Grid_1">
         <Button x:Uid="btone" Margin="5,5" Width="150" Height="50" Name="btone" Content="{x:staitc resx:Resources.Text1}" Click="btone_Click">
------解决方案--------------------
x:staitc  写错了,应该是x:Static,并且要保证xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"这个命名空间被引用了