G
Gregory Khra
I need to use the namespace defined in file1.exe in the file2.exe. So far it
worked as long as both files were in the same folder. Now I need to move one
of them. I added app.config (below) to the second file with the following
text, but it did not work. Can somebody help? Maybe there is another way to
discover file1.exe from file2.exe at runtime (file1 path is available)
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="file1"/>
<codeBase version="1.42.6.0"
href="C:\mypath\file1.exe"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Note: assembly name and version are correct.
worked as long as both files were in the same folder. Now I need to move one
of them. I added app.config (below) to the second file with the following
text, but it did not work. Can somebody help? Maybe there is another way to
discover file1.exe from file2.exe at runtime (file1 path is available)
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="file1"/>
<codeBase version="1.42.6.0"
href="C:\mypath\file1.exe"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Note: assembly name and version are correct.