I discovered the problem. It was a bonehead move on my part. When I created the VS .NET project, I created it in a folder called DotNetGallery. By default, the output of the compiler was DotNetGallery.dll which was overwriting the DotNetGallery.dll in the bin directory.