Consultor Eletrônico



Kbase P146484: How can I add my own custom generated .NET DLL's to my project in Architect?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/2/2009
Status: Verified

GOAL:

How can I add my own custom generated .NET DLL's to my project in Architect?

GOAL:

How can I use .NET DLL's in my project when they are not in the GAC (Global Assembly Cache)?

GOAL:

Why can't I use the objects in my custom .NET DLL's after I add references to those DLL's?

FACT(s) (Environment):

OpenEdge 10.2A
Windows

FIX:

Using .NET DLL's that you wrote where the DLL's are not in the GAC (Global Assembly Cache) it is not enough to just add references to the assemblies to your project in Architect. You must also import the DLL's into the project and put the files into the same level of the project as the assemblies.xml file resides (do not create a folder and put the DLL's in there).

The reason for this is that when the OpenEdge session tries to find the assemblies it will, by default, look for them in the same directory as the assemblies.xml file. If the DLL's are not in the GAC they must be available in the same directory as the assemblies.xml file in order to be loaded into memory in the OpenEdge session.