This project has moved and is read-only. For the latest updates, please go here.

How to build SharpMap in DebugDSProjection configuration.

Topics: SharpMap v0.9 / v1.x
May 22, 2012 at 10:00 PM
Edited May 22, 2012 at 10:04 PM

Trying to build latest sources, but getting errors when compiling GeometryTransformDotSpatial.cs

The type or namespace name 'Polygon' could not be found (are you missing a using directive or an assembly reference?)

Geometry types are missing. I tried to reference DotSpatial.Topology and then NetTopology suite, but geometries from these libraries doesn't seem to have constructors, properties and methods used in SharpMap code.

Any idea? Thanks.


I am trying to build the code from trunk, SharpMap.VS2010.sln

May 29, 2012 at 4:17 PM

I fixed the version in trunk. Please give it a try.

Hth FObermaier

May 29, 2012 at 10:55 PM


After updating my working copy, I only needed to fix DotSpatial.Projections reference and then update the DotSpatial.Projections package from '1.0.2011.52' to '1.2' since the compiler could not find FromEsriString method on ProjectionInfo class (Shapefile.cs).

Is there a reason the SharpMap library is x86?

Thanks, Petr

May 30, 2012 at 7:17 AM

SharpMap and SharpMap.UI should be AnyCPU (maybe the DotSpatial Targets are wrong).

SharpMap.Extensions need to be x86 due to external dependencies

May 30, 2012 at 4:10 PM

OK, I changed it in my working copy. Thanks a lot!