Forum Discussion

DHB's avatar
DHB
Occasional Contributor
12 years ago

CLR Bridge - Switch between different versions of .NET framework

Hello, I have got multiple versions of the .NET Framework installed on my PC. How can I configure the CLR bridge to use a specific version of these frameworks? My issue: Following ...
  • AlexeyKryuchkov's avatar
    12 years ago
    Hello everyone,



    I think I can share another possible solution I suggested to Dirk within a support case on the matter:

    1. Create an intermediate .NET application and explicitly load the needed assemblies to it.



    2. Build the project using the needed version of .NET.



    3. In order to call the needed routines from TestComplete, run the intermediate application and call them through the AppDomain.dotNET property (to learn more, see the "dotNET Property" help topic):

    Sys.Process("fakeApp").AppDomain("fakeApp.exe").dotNET