Archive for August, 2007

Garbage Collection and KeepAlive

2007/08/17

While tracking down a problem and reading some stuff on garbage collection,I came across the GC.KeepAlive method. Looking at the example in the documentation really got me: In DoWork() the GC sometimes collects the Example object before the Hash property is finished executing. For me this looks like a bug in .NET.

Playing around with the example I found some interesting details: (more…)

WDS add-in for Visual Studio 2005

2007/08/15

A while ago I installed Windows Desktop Search (WDS) both on my machine at work and at home. I had looked at several desktop search engines and for reasons I don’t remember I decided that WDS would best fit my needs.

This morning I got tired of waiting for the file search in Visual Studio 2005 to search for all the files in my project’s directory tree, so I googled if there is something that would allow VS to make use of WDS (more…)