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

Can't sharpmap work in VS2012?

Topics: General Topics, SharpMap Project, SharpMap v0.9 / v1.x
May 5, 2013 at 12:05 PM
hey everyone,

In my graduate thesis I need to develop a GIS desktop in website so I want to use sharpmap. The version is SharpMap 1.0 RC2 (SharpMap + SharpMap.UI) with Dependencies, and I use VS2012 to develop.
However, I met trouble when I followed the tutorial (Example 1: Adding 1 layer to the Map). I have followed all the steps in tutorial, but when the program executed at InitializeComponent(), it stopped and threw that type of unhandled exception occurred in the SharpMap.UI.dll. I have debugged and found that it seems SharpMap.UI.dll isn't included, but I do add it to reference.
I have searched for solutions for a long time but no results. So I will be thankful if you guys can give me a hand. Thanks a lot~!
May 6, 2013 at 9:29 AM
Edited May 6, 2013 at 9:30 AM
It does work with VS2012

You probably need to add BindingRedirects for GeoAPI. See the Release notes for further information.
You don't need SharpMap.UI if you are developing for the web, use SharpMap.Web instead.

May 6, 2013 at 4:10 PM
Thanks a lot! I didn't mention the Release notes ><!~~
Now I can continue the tutorial~