Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (163k points)
Occasionally people ask for a patch and we send them a new DLL, that may have a different version number to their existing DLL. This causes the Example Viewer to fail if they copy the DLL over their old DLL in the installation directory (because of the version number mismatch).

This can be fixed by modifying ExampleViewer.exe.config in the installation directory as follows (changing the version numbers below as appropriate to your existing one and your new one).

To find the version number of a DLL simply right click -> Properties -> Details tab.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
  </appSettings>
  <runtime> 
   <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
      <dependentAssembly> 
         <assemblyIdentity 
            name="edtFTPnetPRO" 
            publicKeyToken="0dce1ad63760d80b" /> 
         <bindingRedirect 
            oldVersion="5.0.4.0" 
            newVersion="5.0.5.0" /> 
      </dependentAssembly> 
   </assemblyBinding> 
  </runtime>
</configuration>


For edtFTPnet/Express, the publicKeyToken is "0fe0bb09d8380263" and the name is "edtFTPnetExpress".

Please log in or register to answer this question.

Categories

...