Hi,
I am trying to figure out a problem related to thread in ProvideValue for a custom markupextension. Somehow, the follow code will hang visual stuido and the breakpoint won't work. It seems access Thread.CurrentThread is not allowed in ProvidValue call.
Anyone know the reason
public override object ProvideValue(IServiceProvider serviceProvider)
{
System.Diagnostics.
Debug.Print("manage id = ", Thread.CurrentThread.ManagedThreadId);...
}
Thanks
Chong