[Mapguide-trac] [mapguide-trac] #2102: MgDesktopSample can't run

MapGuide Open Source trac_mapguide at osgeo.org
Wed Aug 29 23:41:49 PDT 2012


#2102: MgDesktopSample can't run
---------------------------+------------------------------------------------
   Reporter:  bassonsh     |       Owner:  jng                                  
       Type:  task         |      Status:  new                                  
   Priority:  medium       |   Milestone:  2.4                                  
  Component:  Desktop API  |     Version:  2.4.0                                
   Severity:  minor        |    Keywords:  MgRenderingService could not be found
External_id:               |  
---------------------------+------------------------------------------------

Comment(by bassonsh):

 Yes i see that it VS does copy the DLL files from my mg-desktop folder to
 the bin\debug folder but it doesnt copy anything to the folder specified
 in the post-build command. This is so frustrating!

 Is there maybe something obvious that's wrong with my post build command?
 (maybe with the switches?):

 xcopy /S /Y /I "E:\..\bin\release\*.*"

 Something else i noticed is that when i now compile the example, i still
 get the error i described last:

 Could not load file or assembly 'OSGeo.MapGuide.Desktop,
 Version=2.4.0.6914, Culture=neutral, PublicKeyToken?=e75f9fd7cf82dc3f' or
 one of its dependencies. The system cannot find the file specified.

 But the last sentence has changed to:

 ...one of its dependencies. An attempt was made to load a program with an
 incorrect format.

 Dont know if thats any different. Is there no workaround to just get this
 sample to compile?
 Thanks for all your help.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2102#comment:7>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list