Consultor Eletrônico



Kbase P138939: Do I need to be concerned with the assemblies.xml file getting updated after installing my own Infra
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/05/2009
Status: Verified

GOAL:

OE Visual Designer: Do I need to be concerned with the assemblies.xml file getting updated after installing my own Infragistics control?

GOAL:

Where is the information about referenced assemblies stored?

GOAL:

What is the assemblies.xml file used for?

GOAL:

Can the assemblies.xml file be edited using a Text Editor?

GOAL:

What may require changes to be made in the assemblies.xml file?

GOAL:

What are the supported ways of changing assemblies.xml files?

FACT(s) (Environment):

Windows
OpenEdge 10.2A

FIX:

1. There is no need to be concerned with the assemblies.xml file getting updated after installing my own Infragistics controls. When working in OpenEdge Architect, the needed assembly references are, in most cases, automatically added to the assemblies.xml file when new controls are added to visual containers in the project.
2. When accessing .NET objects using the OpenEdge GUI for .NET an Assembly References file is required. This is the assemblies.xml file.
3. The assemblies.xml file is an XML based file used to identify all the assemblies needed by an ABL application. The OpenEdge Architect maintains one assemblies.xml file per project.
4. Editing the assemblies.xml file directly is not supported and may cause files in the project to fail to compile and / or prevent some programs from opening in the OpenEdge Architect Visual Designer.
5. Following are some occasions when changes to the assemblies.xml file may be required:
a. To add assemblies that have not been added
b. To remove assemblies reference that have been previously added
c. To merge assemblies.xml files from multiple projects into one for deployment
d. To change Assembly References to newer versions
6. There are two supported ways of maintaining assemblies.xml files:
a. Using the Assembly References Tool which may be accessed either from from the command line of a Proenv session by executing the command: ProAsmRef.exe or from the OpenEdge Architect Workbench menu option: OpenEdge > Tools > Assembly References.
b. Adding assembly references within Open Edge Architect using the Add Assembly References dialog, which may be accessed from the project's Resources view using the following steps:



Right-click on Referenced Assemblies and select Add Assembly References from the context menu.
OR
Right-click on the project name and select Properties from the context menu. From the Properties dialog, expand OpenEdge, click Assemblies, and click Add...


The Add Assembly References dialog is displayed.
Select the Local Assemblies tab.
Navigate through the folders to where the assembly is located.
Select the desired assembly and click OK.

The assembly is added to the assemblies.xml file.