https://bugs.documentfoundation.org/show_bug.cgi?id=148857

--- Comment #15 from Ritobroto Mukherjee <ritobrot...@gmail.com> ---
(In reply to Michele Locati from comment #13)
> But there's no nuget package with that ID at the moment:
> https://www.nuget.org/packages?q=LibreOffice.Bindings

Yes, that package is not actually hosted on nuget.org, since it's not
standalone, and instead needs a compatible build of LibreOffice to work, i.e.
one that also contains some recently added native libraries.

For some reason, the dev builds of the SDK don't seem to contain the nupkg
file. As Mr. Kaganski mentioned, there should be a file named
<sdk>/dotnet/LibreOffice.Bindings.0.1.0.nupkg. But even so, just getting the
nuget package won't work, since those aforementioned native libraries need to
be present in the LO install. 

Until the next LO release, unfortunately, the path of least resistance would be
to build LO locally with the --with-dotnet option, enabling the SDK with the
setsdkenv_windows/linux scripts, and adding
<RestoreAdditionalProjectSources>[path/to/sdk]/dotnet</RestoreAdditionalProjectSources>
and <PackageReference Include="LibreOffice.Bindings" Version="0.1.0" /> to your
.csproj file.

The docs on using the bindings are lacking right now, but I'll try to work on
them as soon as I can. Apart from this a standalong version of the bindings is
also in the works, but it might be some time before it's functional.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to