Bug 165585 - LibreOffice SDK binaries lack cross platform .NET binding files
Summary: LibreOffice SDK binaries lack cross platform .NET binding files
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: .NET
  Show dependency treegraph
 
Reported: 2025-03-05 12:41 UTC by Hossein
Modified: 2025-03-26 23:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2025-03-05 12:41:36 UTC
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
Comment 1 Hossein 2025-03-26 23:17:04 UTC
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