Kbase P68905: .Net: Progress.o4glrt does not match the assembly reference when running the GetCustOrders sample
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/05/2007 |
|
Status: Verified
FACT(s) (Environment):
OpenEdge 10.0A
SYMPTOM(s):
Getting a .NET exception when running the GetCustOrders C# sample
An unhandled exception of type 'System.IO.FileLoadException' occurred in system.windows.forms.dll
Additional information: The located assembly's manifest definition with name 'Progress.o4glrt' does not match the assembly reference.
The located assembly's manifest definition with name 'Progress.o4glrt' does not match the assembly reference.
Warning: The dependency 'Progress.o4glrt, Version=10.0.1423.37393, Culture=neutral, PublicKeyToken=1a0c0a15bd34807c' in project 'GetCustOrders' cannot be copied to the run directory because it would overwrite the reference 'Progress.o4glrt, Version=10.0.1441.40203, Culture=neutral, PublicKeyToken=1a0c0a15bd34807c'.
CAUSE:
The warning means that the sample is built with an older version of Progress.o4glrt.dll than the one that shipped in FCS.
FIX:
- Re-generate the CustOrders.dll proxy via the ProxyGen tool
- Remove all the references to o4glrt in the Visual Studio Workspace/Project(s)
- Delete any "local" copies of Progress.o4glrt.dll from the project 'bin' directories
- Re-add the references to the latest o4glrt and the CustOrders proxy.
- Rebuild the Project.