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

            Bug ID: 135138
           Summary: Using CLI assemblies result in Invalid IL code in
                    uno.util.Bootstrap:bootstrap
           Product: LibreOffice
           Version: 6.4.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When attempting to run a .Net/C# solution on MacOS (with Rider), running with
Mono (.Net 4.8), with the cli assemblies, the follow exception occurs:

```
Invalid IL code in uno.util.Bootstrap:bootstrap (): IL_0036: calli    
0x11000001
```

As far as I can tell, the cli assemblies are .Net 1.0/1.1, which is quite old.
Its unclear to my how these assemblies are created, as a part of .cs files are
in the source. I guess the rest is build from C code?

It would be very interesting to migrate the cli code to .NetStandard 2.0, so
the code could be used in a more up-to-date environment, like Asp.Net Core for
example. 


Steps to Reproduce:
1. Create new CS console or unit test project
2. Add all assemblies to the project
3. Debug a class with "XComponentContext localContext =
uno.util.Bootstrap.bootstrap();" in it

Actual Results:
The following exception occurs:

Invalid IL code in uno.util.Bootstrap:bootstrap (): IL_0036: calli    
0x11000001


Expected Results:
An XComponentContext object would be returned


Reproducible: Always


User Profile Reset: No



Additional Info:
Create an Uno connection to a headless Libreoffice instance

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to