Summary: | Using CLI assemblies result in Invalid IL code in uno.util.Bootstrap:bootstrap | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Peter Hagen <peter> |
Component: | sdk | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | xiscofauli |
Priority: | medium | ||
Version: | 6.4.5.2 release | ||
Hardware: | x86-64 (AMD64) | ||
OS: | macOS (All) | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: |
Description
Peter Hagen
2020-07-26 06:23:57 UTC
Hello Peter, Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Dear Peter Hagen, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping I installed the latest SDK in Windows (sorry, I'm using a Mac), and then copied the dll's from the GAC to my Mac. There with Rider I made a little project containing the DLL's and part of the sample code. It builds, but it doesn't run: /Users/peter/Downloads/LBNet/bin/Debug/net6.0/LBNet Sample caught exception! System.BadImageFormatException: Could not load file or assembly 'cli_cppuhelper, Version=1.0.23.0, Culture=neutral, PublicKeyToken=ce2cb7e279207b9e'. An attempt was made to load a program with an incorrect format. File name: 'cli_cppuhelper, Version=1.0.23.0, Culture=neutral, PublicKeyToken=ce2cb7e279207b9e' at SpreadsheetDocHelper.connect(String[] args) at SpreadsheetDocHelper..ctor(String[] args) in /Users/peter/Downloads/LBNet/Program.cs:line 272 at GeneralTableSample..ctor(String[] args) in /Users/peter/Downloads/LBNet/Program.cs:line 51 at GeneralTableSample.Main(String[] args) in /Users/peter/Downloads/LBNet/Program.cs:line 36 Process finished with exit code 0. Looking at cli_cppuhelper, it references kernel32.dll. I guess there is some pinvoke in that dll? Well, at least its not a .netstandard DLL, but .Net 6 can load these on any platform. It would be great if these would be .NetStandard, and preferable available as nuget packages. If you can point me where the C# code and/or the project files can be found, I could attempt to assist with this issue |