The Publisher Policy file controls the redirection of an application that uses one version of the .NET Data Provider for Teradata to a newer version of the .NET Data Provider for Teradata. The Publisher Policy file consists of two sub-files; an XML configuration file and the compiled version of the configuration file. Both of these files must reside in the same directory for correct operation. The installation directory for the Publisher Policy files are <Installation-Directory>\PrivateAssemblies.
The Publisher Policy XML file has the following schema,
XML |
Copy Code |
---|---|
<?xml version="1.0"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Teradata.Client.Provider" processorArchitecture="MSIL" publicKeyToken="76b417ee2e04956c" /> <bindingRedirect oldVersion="1.0.0.0" newVersion="1.1.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration> |
The Publisher Policy file will be installed into the GAC (Global Assembly Cache).