- Load from GAC
- Load from private path
1: <runtime>
2: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
3: <probing privatePath="myPrivatePath"/>
4: </assemblyBinding>
5: </runtime>
- Change machine.config to load from anywhere globally on your machine
- Overwrite private path setting
1: <runtime>
2: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
3: <probing privatePath="myPrivate"/>
4: <dependentAssembly>
5: <assemblyIdentity name="MyAssemblyPath"
6: publicKeyToken="abcd"
7: culture="neutral" />
8: <codebase href = "file://localhost/D:/Temp/DLL/MyAssembly.dll">
9: <!--Redirection and codeBase policy for myAssembly.-->
10: </dependentAssembly>
11: </assemblyBinding>
No comments:
Post a Comment