<div dir="ltr"><div dir="ltr">Thanks for the manual, the manual works, the build was successful and the
LibreOffice.Bindings.0.1.0.nupkg has appeared in the dotnet folder.<div><br></div><div>Could you tell me if I am right that net_basetypes.dll, net_bootstrap.dll,net_bridge.dll,net_oootypes.dll,net_uno.dll,net_uretypes.dll should be redistributed with the application which uses the SDK?</div><div><br></div><div>Am I right that the compiled SDK can be user with any LibreOffice redistribution (with same bitness, e.g. x64) starting with 25.2.1.2? Or the SDK can be used with the LibreOffice which I had compiled with the SDK?</div><div><br></div><div><br></div><div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 23, 2025 at 7:11 PM Hossein Nourikhah <<a href="mailto:hossein@libreoffice.org" target="_blank">hossein@libreoffice.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Ilya,<br>
<br>
This is a known issue with the LibreOffice SDK, which lacks .NET binding <br>
files:<br>
<br>
tdf#165585 LibreOffice SDK binaries lack cross platform .NET binding <br>
files<br>
<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=165585" rel="noreferrer" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=165585</a><br>
<br>
On the other hand, this is binary only issue. You should be able to <br>
compile LibreOffice with cross platform .NET enabled, and build the <br>
required packages.<br>
<br>
As you are on Windows, you may follow these instructions, using LODE:<br>
<br>
<a href="https://wiki.documentfoundation.org/Development/lode" rel="noreferrer" target="_blank">https://wiki.documentfoundation.org/Development/lode</a><br>
<br>
I have built LO with cross platform .NET support myself, and the <br>
resulting package is available in:<br>
<br>
instdir/sdk/dotnet/LibreOffice.Bindings.0.1.0.nupkg<br>
<br>
inside LibreOffice core source folder.<br>
<br>
Regards,<br>
Hossein<br>
<br>
On 19.03.2025 06:50, Ilya Sokolov wrote:<br>
> Hello<br>
> <br>
> I have an application, which integrates with Libre Office via C#<br>
> libraries. The application is being migrated from .Net Framework 4.5,<br>
> where all works well, to .Net 8. However, when then the .Net 8<br>
> application tries to connect to the Libre Office an exception<br>
> occurres.<br>
> <br>
> Brief googling provided the link 148857 – Handle is not initialized<br>
> exception when bootstrapping with .Net (but not in .Net Framework) 3<br>
> [1], where it is said that the latest Libre Office should have<br>
> communicate with .Net if the corresponding LibreOffice.Bindings Nuget<br>
> is used. Accordingly to the link the Nuget should be located at<br>
> /dotnet/LibreOffice.Bindings.0.1.0.nupkg, however, after installing<br>
> LibreOffice_25.2.1.2_Win_x86-64_sdk I have no dotnet folder in<br>
> C:\Program Files\LibreOffice\sdk.<br>
> <br>
> I have posted the question here<br>
> (<a href="https://ask.libreoffice.org/t/nuget-package-for-c/119073" rel="noreferrer" target="_blank">https://ask.libreoffice.org/t/nuget-package-for-c/119073</a>) and got the<br>
> advice to mail to this list.<br>
> <br>
> Could you tell me how can I get the LibreOffice.Bindings Nuget?<br>
> <br>
> --<br>
> <br>
> Best Regards,<br>
> Ilia Sokolov<br>
> <br>
> <br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="https://bugs.documentfoundation.org/show_bug.cgi?id=148857" rel="noreferrer" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=148857</a><br>
<br>
-- <br>
Hossein Nourikhah, Ph.D., Developer Community Architect<br>
Tel: +49 30 5557992-65 | Email: <a href="mailto:hossein@libreoffice.org" target="_blank">hossein@libreoffice.org</a><br>
The Document Foundation, Winterfeldtstraße 52, 10781 Berlin, DE<br>
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts<br>
Legal details: <a href="https://www.documentfoundation.org/imprint" rel="noreferrer" target="_blank">https://www.documentfoundation.org/imprint</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Best Regards,<div>Ilia Sokolov</div><div><br></div><div>Head of Software Development</div><div>RULA Technologies SIA<br></div><div>Balta Iela 7, Riga, LV-1055, Latvia <br></div><div>+371 66102184</div><div><a href="http://rula-tech.com" target="_blank">http://rula-tech.com</a></div><div>E-mail: <a href="mailto:is@rula-tech.com" target="_blank">is@rula-tech.com</a><br></div></div></div></div></div></div></div></div></div></div>
</div>