Consultor Eletrônico



Kbase P130168: Error CS0009 when generating a .NET Proxy in OpenEdge 10.1C using the .NET 1.1 Framework
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/22/2008
Status: Unverified

SYMPTOM(s):

Error CS0009 when generating a .NET Proxy

fatal error CS0009: Metadata file 'c:\Progress\oe101c\dotnet\deploy\signed\Progress.o4glrt.dll' could not be opened -- 'Version 2.0 is not a compatible version.'

Using the .NET 1.1 Framework to generate the proxy

FACT(s) (Environment):

Windows
OpenEdge 10.1C

CAUSE:

The Progress.o4glrt.dll assembly has been created with .NET 2.0 Framework which cannot be used in .NET 1.1.

FIX:

Do not refer to the .NET 1.1 Framework when generating the .NET proxy from the Proxy Generator, but rather use .NET 2.0 Framework.

The following steps could be used in order to work around this limit. However, this is not supported by Progress Technical Support.

- Copy the 10.1B assemblies from %DLC%\dotnet\deploy\signed or %DLC%\dotnet\deploy\strongnamed-signed to the equivalent 10.1C installation directories.
To check which assemblies are used (signed or strongnamed-signed), generate the proxy with the .NET 2.0 Framework, and check it in the ProxyGen log file.

- In the ProxyGen, point to the .NET 1.1 XSD and CSC executables.