I've downloaded latest trunk yesterday and found SharpMap a great software. Thanks for mainting it !
I tried the raster reading part with the extension GdalRasterLayer.
Visua Studio 2005 built ok and put many dll in the exe folder (I only referenced SharpMap.Extensions.dll built from latest source, and it put automatically all other dlls. I supposed it found them in trunk\SharpMap.Extensions\bin\Debug)
When I launch the program :
String filename = "sample_geotiff.tif";
GdalRasterLayer raster = new GdalRasterLayer("image",filename);
then I have the error :
An unhandled exception of type 'System.TypeInitializationException' occurred in gdal_csharp.dll
Additional information: The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception.
Which is in GDAL.Gdal.AllRegister().
I also tried to replace the dlls with the one from FWTools but it did not change (actually they looked more recent in SharpMap)
Thanks for any help.