Right, so on my desktop the following very very simple code hangs / freezes when compiled and run on the framework 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>
The issue here, as far as I am aware is the FontSize in the style that is applied to the control. When I remove it, it's fine.
If I compile it in framework 4.0 on the same machine, it works.
It works on my laptop and probably everyone else's machine, just not on my desktop.
Any help appreciated