Hello

We have a slightly renamed GDAL DLLs for e.g. gdal393.dll and hence the below 
NuGet packages that are built for .NET Framework won't work with our DLLs.
https://www.nuget.org/packages?q=MaxRev.Gdal



So, Is there a fork for these NUGET Packages which we can look at ?

Best regards,

________________________________
From: Ross King <ross.k...@altavec.com>
Sent: Thursday, February 20, 2025 9:40 AM
To: Michał Kowalczuk via gdal-dev <gdal-dev@lists.osgeo.org>; Parveen Sharma 
<sharma1...@outlook.com>
Subject: Re: Can we build CSharp Bindings in GDAL v3.9.3 or later with DOT NET 
FRAMEWORK 4.8?

I would use one of the NuGet packages that are built for .NET Framework

https://www.nuget.org/packages?q=MaxRev.Gdal

These should suffice, rather than building the bindings yourself.


Cheers,



Ross



________________________________
From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> on behalf of Parveen Sharma 
via gdal-dev <gdal-dev@lists.osgeo.org>
Sent: Wednesday, 19 February 2025 19:58
To: Michał Kowalczuk via gdal-dev <gdal-dev@lists.osgeo.org>
Subject: [gdal-dev] Can we build CSharp Bindings in GDAL v3.9.3 or later with 
DOT NET FRAMEWORK 4.8?

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

[cid:459f78aa-7867-445a-8c18-cbdc80f04432]

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

Caution: Please do not click links or open attachments unless you recognise the 
sender and know the content is safe.

This email and any files transmitted with it may be confidential and are 
intended solely for the use of the individual or entity to whom they are 
addressed. Any confidentiality is not waived or lost because this email has 
been sent to you by mistake. This email may contain personal information of 
individuals, and be subject to Commonwealth and/or State privacy laws in 
Australia. This email is also subject to copyright. If you are not the intended 
recipient, you must not read, print, store, copy, forward or use this email for 
any reason, in accordance with privacy and copyright laws. If you have received 
this email in error, please notify the sender by return email, and delete this 
email from your inbox.


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to