[gdal-dev] gdal_wrap dll

Tamas Szekeres szekerest at gmail.com
Mon Sep 10 00:52:00 PDT 2012


Hi,

gdal_wrap.dll is not a managed assembly, you should not set reference to
this dll.
gdal_csharp.dll loads gdal_wrap.dll internally (assuming it's location is
added to the PATH environment setting)

Best regards,

Tamas



2012/9/10 Neelima Emmani <neelima.emmani at iictechnologies.com>

>  Hi All,
> I am trying to get gdal for c#. For that, I have taken gdal binaries from
> the below link
>  http://www.gisinternals.com/sdk/. <http://www.gisinternals.com/sdk/> As
> I am using Microsoft Visual Studio 9.0 and the system is windows 64 bit, I
> chose the compiler msvc2008(win64)-development.From the list of downloads
> under this link , I chose gdal-20dev-1500-x64-core.msi and
> gdal-20dev-1500-x64-ecw.msi. These were installed under the c:/program
> files with a folder name GDAL. I have my visual studio under c:/program
> files(x86). And then , I have set my system environment path to c:/program
> files/GDAL.
>
> After all this, I opened a new c# console application where i was
> successful in adding references like gdal_csharp, ogr_csharp, osr_csharp
> but could not add gdal_wrap.dll. The system is popping me up with the
> following error
>
> A reference to 'C:\Program Files\GDAL\gdal_wrap.dll' could not be added.
> Please make sure that the file is accessible, and that it is a valid
> assembly or COM component.
> Can anyone suggest me how to add this dll to my project. Do i need to do
> anything to get it work?
> Awaiting reply.
>
>
> With Regards,
> Neelima Emmani
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120910/f1087bb9/attachment.html>


More information about the gdal-dev mailing list