Is assemblies.config only for PDSOE use, or is it also available for run-time use? - Forum - OpenEdge Development - Progress Community

Is assemblies.config only for PDSOE use, or is it also available for run-time use?

 Forum

Is assemblies.config only for PDSOE use, or is it also available for run-time use?

This question is answered

I need to segregate a third-party tool to make it easy maintaining hundreds of files. I read that in PDSOE, assemblies.config can be used to reference dlls from multiple folders relative to the folder where assemblies.xml is located. Can you also use this feature during run-time, or is there another mechanism?  

Verified Answer
  • assemblies.config works at runtime too.
     
    Mine looks like this:
     
    <configuration>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" >
                <probing privatePath="Consultingwerk;Infragistics;Microsoft;Support;Telerik;ZeroMQ" />  
            </assemblyBinding>   
        </runtime>
    </configuration>
     

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

All Replies
  • assemblies.config works at runtime too.
     
    Mine looks like this:
     
    <configuration>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" >
                <probing privatePath="Consultingwerk;Infragistics;Microsoft;Support;Telerik;ZeroMQ" />  
            </assemblyBinding>   
        </runtime>
    </configuration>
     

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

  • Do you know if the relative path ".." notation is supported?

    >> Nevermind, loading dlls outside the assemblies folder doesn't work.