Forum Post: RE: Problem with Visual Designer and Assemblies

  • Thread starter Thread starter Matt Baker
  • Start date Start date
Status
Not open for further replies.
M

Matt Baker

Guest
PDSOE uses a .DLL loaded into the JVM to access .NET libraries. This .DLL acts as a bridge between the java code and the .NET reflection for reading details of the classes from an assembly. Since this .DLL only uses a single AppDomain to load the .NET assemblies, it cannot support loading multiple versions of the same assembly at the same time. So the first version of an assembly loaded into memory wins. In contrast, the ABL compiler is hosted by the AVM which runs in a separate process. So by having two separate projects, you have two separate runtimes which don't interact and you can safely compile against two different versions of your assembly. If you tried using the shared AVM configuration you'd run into the same problem that PDS is having. You will need to use separate workspaces to host different versions of your project. And contact tech support to request an enhancement request to have the .NET bridge in PDS enhanced to support multiple app domains for separate projects.

Continue reading...
 
Status
Not open for further replies.
Back
Top