Description: If you open LibreOffice SDK binaries, you will see that they lack latest cross platform dotnet binding files. Steps to Reproduce: 1. Download LibreOffice SDK for some platform. For example: macOS: https://downloadarchive.documentfoundation.org/libreoffice/old/25.2.0.1/mac/aarch64/LibreOffice_25.2.0.1_MacOS_aarch64_sdk.dmg (can be opened on macOS, or with 7zip: https://7-zip.org/download.html) Windows: https://downloadarchive.documentfoundation.org/libreoffice/old/25.2.0.1/win/x86_64/LibreOffice_25.2.0.1_Win_x86-64_sdk.msi Linux DEB: https://downloadarchive.documentfoundation.org/libreoffice/old/25.2.0.1/deb/x86_64/LibreOffice_25.2.0.1_Linux_x86-64_deb_sdk.tar.gz 2. Install or extract the SDK 3. Look for folders named dotnet or similar inside it Actual Results: You only find dotnet examples, while there should be other dotnet binding files there, including DLLs and the Nuget package. Expected Results: At least these files from a LibreOffice build should be shipped inside the SDK binaries: $ cd libreoffice/core $ ls instdir/sdk/dotnet/ LibreOffice.Bindings.0.1.0.nupkg nuget.config $ ls ./instdir/program/dotnet net_basetypes.dll net_bridge.runtimeconfig.json net_uretypes.dll net_bridge.dll net_oootypes.dll Reproducible: Always User Profile Reset: No Additional Info: On macOS, there is another issue, which is detecting installed dotnet at build time, and you should give the path to 'dotnet' binary manually. This may need another bug report. For more information about the latest cross platform .NET support, please see the report from Ritobroto who developed it: Work Report for .NET Bindings Project: https://gist.github.com/RMZeroFour/80e5115ddd59030a0ec808abc396e839
Confirming the issue based on this message on dev mailing list: Nuget package for C#, 2025-03-19 https://lists.freedesktop.org/archives/libreoffice/2025-March/093121.html
Is there any updates for this issue? Still there is no dotnet files under the sdk.
Does somebody know where I can find the new crossplatform bindings for .net? I installed the latest development version but could not find them. I'm hitting the same problem as other people, I'm converting old legacy code from .net framework to .net 10 and are hitting the "Invalid Handle" error
I would like to add my support to this request. The .NET bindings (net_ure / LibreOffice.Bindings) are very useful, but the official SDK still lacks pre-built packages. Could you please provide an update on the current progress? Also, has anyone successfully compiled the bindings and shared the resulting NuGet package or DLLs?
Hossein committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/71e1af33588dfbf31067fe759ecab58584a08f24 tdf#165585 Fix SDK lacking cross platform .NET binding files It will be available in 27.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I still cannot find LibreOffice.Bindings in either LibreOfficeDev_27.2.0.0.alpha0_Win_x86-64 or LibreOfficeDev_27.2.0.0.alpha0_Win_x86-64_sdk.
Where are net_bootstrap and net_uno?
(In reply to tonyliveh from comment #6) > I still cannot find LibreOffice.Bindings in either > LibreOfficeDev_27.2.0.0.alpha0_Win_x86-64 or > LibreOfficeDev_27.2.0.0.alpha0_Win_x86-64_sdk. I filed this bug to track the problem with building the installation packages, and this specific problem is now fixed. If you build LibreOffice packages on your system and you have .NET SDK installed, you will get the required .NET binding files in the SDK installation package. But, unfortunately, this is not enough to see those packages in the final builds. CI machines should have .NET SDK installed, which they do not have at the moment. There is a WIP patch for LODE to fix that issue, but that is stalled and is not yet merged: .NET Bindings: Fix cygwin permissions and dotnet symlinks https://gerrit.libreoffice.org/c/lode/+/170062 In order to see the required .NET binding files in the final builds, the above patch should be merged. Alternative would be to install .NET SDK manually, which is seemingly not possible.