[gdal-dev] Can we build CSharp Bindings in GDAL v3.9.3 or later with DOT NET FRAMEWORK 4.8?
Tamas Szekeres
szekerest at gmail.com
Thu Mar 6 01:12:46 PST 2025
Hi,
You can let cmake to build the csharp libs for netstandard2.0
("-DCSHARP_LIBRARY_VERSION=netstandard2.0") which makes it compatible with
both the netframework and netcore versions.
Best regards,
Tamas
Parveen Sharma via gdal-dev <gdal-dev at lists.osgeo.org> ezt írta (időpont:
2025. febr. 19., Sze, 9:59):
> Hello
>
> I am trying to build GDAL CSharp bindings from v3.9.3 branch
> <https://github.com/OSGeo/gdal/tree/v3.9.3/swig/csharp>.
>
> The documentation for v3.9.3
> <https://gdal.org/en/stable/api/csharp/csharp_compile_cmake.html#net-build-toolchain> states
> that it needs .NET 5.0 OR Mono
>
>
> *Question : **Is it possible to build GDAL source v3.9.3 using DOT NET
> Framework 4.8 or less? *I am using below flags BUT it seems the build
> process is attempting to look for only .NET SDK and not the DOT NET
> FRAMEWORK
>
> <arg value="-DBUILD_CSHARP_BINDINGS=ON"/><!-- C# Bindings-->
> <arg value="-DCSHARP_LIBRARY_VERSION=4.8"/>
> <arg value="-DCSHARP_APPLICATION_VERSION=4.8"/>
>
>
> *Does GDAL still support building CSharp Bindings with .net framework?*
>
> Please let me know.
>
> Best regards,
> Parveen
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250306/3c51157f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 40496 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250306/3c51157f/attachment-0001.png>
More information about the gdal-dev
mailing list