Q: about WPF GetResourceStream StreamResourceInfo streamInfo = Application.GetResourceStream(new uri("UIOnly;component/Images/my_work.png", UriKind.Relative));

if ((streamInfo != null) && (streamInfo.Stream != null))
{
      using (var stream = streamInfo.Stream)
      {

      }
}

when above code executed, the UIOnly.dll is locked until application exit, why??

A: Somehow the file handle is not released. 
Have you tried explicit calling Close on the stream instead of just disposing it?
