[Libreoffice-bugs] [Bug 113787] New: cli_oootypes.config is wrong
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 12 16:54:31 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=113787
Bug ID: 113787
Summary: cli_oootypes.config is wrong
Product: LibreOffice
Version: 5.4.3.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: sdk
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: kpreisert at gmail.com
Description:
I have a .NET (C#) application that uses the LibreOffice CLI assemblies. When I
upgraded my LO installation from 5.3.7 to 5.4.3 this application doesn't work
anymore, because it can't find the .NET assembly "cli_oootypes,
Version=1.0.8.0, Culture=neutral, PublicKeyToken=ce2cb7e279207b9e". I noticed
that in 5.4.3 (I don't know which version exactly) the version numbers of the
CLI assemblies have been increased (probably related to
https://bugs.documentfoundation.org/show_bug.cgi?id=108709), so that the
assembly installed by LO 5.4.3 is now at version 1.0.9.0.
This in itself shouldn't be a problem, because the are policy files which
redirect references to old versions to the new (istalled) version. However, the
corresponding policy file cli_oootypes.config contains the following line:
<bindingRedirect oldVersion="CLI_OOOTYPES_OLD_VERSION"
newVersion="CLI_OOOTYPES_NEW_VERSION" />
This is wrong. It should be:
<bindingRedirect oldVersion="1.0.0.0-1.0.8.0" newVersion="1.0.9.0" />
I guess that some build scripts didn't correctly replace the variables here? I
also noticed that cli_oootypes.config contains a license header, whereas the
other *.config files (e.g. cli_basetypes.config) do not.
Steps to Reproduce:
Compile a .NET application that references and uses cli_oootypes.dll at version
1.0.8.0, then try to run it with a newer LO installation that contains version
1.0.9.0.
Actual Results:
Can't find .NET assembly "cli_oootypes, Version=1.0.8.0, Culture=neutral,
PublicKeyToken=ce2cb7e279207b9e"
Expected Results:
.NET assembly reference should be redirected, application should work as usual
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101
Firefox/56.0
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171112/5518d4b1/attachment.html>
More information about the Libreoffice-bugs
mailing list