https://bugs.documentfoundation.org/show_bug.cgi?id=148857
Hossein <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #9 from Hossein <[email protected]> --- The new .NET binding for cross platform .NET has just landed in master, and in order to use it, you need to compile LibreOffice from sources, or use daily builds: (or maybe wait for the next release) https://dev-builds.libreoffice.org/daily/master/current.html To get started, look into SDK examples: https://git.libreoffice.org/core/+/refs/heads/master/odk/examples/DevelopersGuide/FirstSteps/FirstUnoContact/csharp/ https://git.libreoffice.org/core/+/refs/heads/master/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent/csharp/ https://git.libreoffice.org/core/+/refs/heads/master/odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape/csharp/ https://git.libreoffice.org/core/+/refs/heads/master/odk/examples/dotnet/WriterDemo Please take a look at this minimal code from FirstUnoContact example: using System; using com.sun.star.lang; using com.sun.star.uno; try { XComponentContext xContext = NativeBootstrap.bootstrap(); Console.WriteLine("Connected to a running office..."); XMultiComponentFactory xMCF = xContext.getServiceManager(); Console.WriteLine("Remote service manager is {0}", xMCF is null ? "not available" : "available"); return 0; } catch (UnoException e) { Console.Error.WriteLine(e.Message); return 1; } It uses NativeBootstrap.bootstrap(). -- You are receiving this mail because: You are the assignee for the bug.
