[api-issues] [Bug 118355] New: cli assemblies are not able to work with .Net Framework 4.0
| Newsgroups | gmane.comp.openoffice.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
http://openoffice.org/bugzilla/show_bug.cgi?id=118355
Issue Type: DEFECT
Summary: cli assemblies are not able to work with .Net
Framework 4.0
Classification: Code
Product: api
Version: OOo 3.3
Platform: PC
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: enhancement
Priority: P1
Component: code
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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
--
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help