Apache OpenOffice (AOO) Bugzilla – Issue 118355
cli assemblies are not able to work with .Net Framework 4.0
Last modified: 2013-02-24 21:09:41 UTC
1) We have developed an OXT package which uses the cli_XXXX.dll assemblies given by open office. 2) The add-in is working fine when we were using .Net Framework 3.5. 3) We tried to upgrade the framework from 3.5 to framework 4.0. We had to do "regasm" "cli_oootypes.dll" (i.e. register the assembly to COM) after that we were able to compile the code successfully. 4) Now, when we try to run it we get an run time exception "FileLoadException: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information". 5)we also tried to put following configuration to soffice.exe.config, swriter.exe.config but did not get any success. <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v2.0.50727"/> <supportedRuntime version="v3.5"/> <supportedRuntime version="v4.0"/> </startup> 6) We even tried registering the remaining assemblies to COM but still no use. 7) Can we get cli's that work with .Net Framework 4.0
this issue is no P1
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.