Forum Discussion

t_krish_veni's avatar
t_krish_veni
New Contributor
12 years ago
Solved

FileloadException

When i am trying to access dotnet dll assemblies built with runime version 2.0.50727, an exception is thrown: System.Io.Fileloadexception.  How to solve this issue? i cannot change the runtime version...
  • TanyaYatskovska's avatar
    11 years ago

    Hi Krishnaveni,


     


    Which TestComplete version are you using?


    BTW, on the Internet, I can see that this issue has been reported by many other users who do not use TestComplete at all. For example, you can find a discussion of the issue in the following threads: 



  • santhoshkumargr's avatar
    santhoshkumargr
    9 years ago

    Friends,

     

    Here is the link to the solution. However I did not follow 100% of the post.

     

    I created a file TestComplete.exe.config in [TestComplete]/Bin folder as mentioned in the above link. To solve my purpose the contents of the file looks like thi

     

    <?xml version ="1.0"?>
            <configuration>
                     <startup useLegacyV2RuntimeActivationPolicy="true">
                                <supportedRuntime version="v4.0"/>
                     </startup>
            </configuration>