https://bugs.documentfoundation.org/show_bug.cgi?id=163072
Hossein <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|REOPENED |RESOLVED --- Comment #14 from Hossein <[email protected]> --- With the fix for tdf#165585 which will be available in the nightly build soon, LibreOffice nuget packages and DLL files should be in sdk/dotnet folder. I added the above XML provided by Ritobroto to a console C# application for .NET 10, and I could build the project. Then, I used below example: HelloTextTableShape.cs https://git.libreoffice.org/core/+/refs/heads/master/odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape/csharp/HelloTextTableShape.cs I had to add these paths to the Windows path: C:\Program Files\LibreOffice\program C:\Program Files\LibreOffice\sdk\bin Also, I had to use setsdkenv_windows.bat, and then run Visual studio (devenv.exe) from command line to get the environment variables. If not, I got Exceptions in bootstrap() stage, like "System.ExecutionEngineException" or so. But it is not a bug, it is the lack of proper configuration. You may also set the environment variables manually instead of using the configuration script. With this (In reply to Ritobroto Mukherjee from comment #7) > The docs haven't been updated just yet to show the necessary steps to > consume the new bindings, but the rough steps are: > 1. Build LO locally with the --with-dotnet option, or get a daily or > official release with the new bindings > 2. Enable the LO SDK with the setsdkenv_windows or setsdkenv_unix script in > <LO path>/sdk/ > 3. Create a .NET 8 project, and add these lines to your .csproj file: > > <PropertyGroup> > <RestoreAdditionalProjectSources>[LO > path]/sdk/dotnet</RestoreAdditionalProjectSources> > </PropertyGroup> > <ItemGroup> > <PackageReference Include="LibreOffice.Bindings" Version="0.1.0" /> > </ItemGroup> -- You are receiving this mail because: You are the assignee for the bug.
