Having a hard time with the Hot-build

Topics: General, Windows Forms
Aug 30, 2012 at 6:13 PM

C#, Visual Studio 2005.

I easily created a working project with the 2011 stable dll's.

I copied the Hot-build vs10 dll's to my existing project and get lots of errors (is that the correct way of updating?)

Please help me with adding an overlay then adding a few markers. Mainform.cs is too complicated for me.

Thanks

 

 

Coordinator
Aug 30, 2012 at 6:27 PM

nothing has changed except map providers

Aug 30, 2012 at 6:54 PM

My project cannot find:

readonly DescendingComparer ComparerIpStatus = new DescendingComparer();   

and    

GMapMarkerRect CurentRectMarker = null;

What am I missing please?

 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.NetworkInformation;
using System.Threading;
using System.Windows.Forms;
using System.Xml;
//using Demo.WindowsForms.CustomMarkers;
using GMap.NET;
using GMap.NET.MapProviders;
using GMap.NET.WindowsForms;
using GMap.NET.WindowsForms.Markers;
using GMap.NET.WindowsForms.ToolTips;

Aug 30, 2012 at 7:03 PM
Edited Aug 30, 2012 at 7:04 PM

And if I try and use this old code that runs okay in my other project

activeOverlay.Markers.Add(new GMap.NET.WindowsForms.Markers.GMapMarkerGoogleGreen(new PointLatLng(30.0)));
I get this error:
Error 1 The type or namespace name 'GMapMarkerGoogleGreen' does not exist in the namespace 'GMap.NET.WindowsForms.Markers'
 (are you missing an assembly reference?)

Coordinator
Aug 30, 2012 at 7:07 PM

demo markers was replaced with: GMarkerGoogle

Aug 30, 2012 at 7:29 PM

Okay, got it to work. 

Thank you.