そうです、私のデスクトップでは、フレームワーク 3.5 でコンパイルして実行すると、次の非常に単純なコードがハング/フリーズします。
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Window.Resources>
<ResourceDictionary>
<Style x:Key="s1" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="10"></Setter>
</Style>
</ResourceDictionary>
</Window.Resources>
<Grid>
<TextBlock Text="adfasdf" Style="{StaticResource s1}"></TextBlock>
</Grid>
</Window>
ここでの問題は、私が知る限り、コントロールに適用されるスタイルの FontSize です。外すと平気です。
同じマシンのフレームワーク 4.0 でコンパイルすると、動作します。
デスクトップではなく、私のラップトップとおそらく他のすべてのマシンで動作します。
どんな助けでも大歓迎