I built a shared assembly that is distributed in GAC and I had to do a patch to it. The old version was 1.5.0.5 and the new ons is 1.5.0.6.
I followed the instructions here:
and successfully added the policy assembly to the GAC BUT, it seems that the policy isn't applied since when I use my test application, it states 1.5.0.5 on
[type].assembly.GetName().GetVersion().toString()
My policy assembly is called
Policy.1.5.BaseAssemblyName.dll
the config file is called
Policy.1.5.BaseAssemblyName.config
and versionned 1.5.0.6
If I look in the assembly/GAC/Policy.1.5.BaseAssemblyName/1.5.0.6__* folder, both the .dll and .config files are there (with __AssemblyInfo__.ini)
I have reasons to think that the binding process looks to it since my test app crashes if I remove the .config file.
Finally, I tried using fuslogvw.exe to know what is going on but nothing gets logged into it.
Any help will be greatly appreciated!
P.S. Here is the content of the config file:
<configuration>
<runtime>
<assemblyBinding>
<dependentAssembly>
<assemblyIdentity name="BaseAssemblyName" publicKeyToken="5deba177a812746c" />
<bindingRedirect oldVersion="1.5.0.5" newVersion="1.5.0.6" />
<!--codeBase version="2.0.0.0" href=" </dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
[Burger King stole my nick!]
I followed the instructions here:
and successfully added the policy assembly to the GAC BUT, it seems that the policy isn't applied since when I use my test application, it states 1.5.0.5 on
[type].assembly.GetName().GetVersion().toString()
My policy assembly is called
Policy.1.5.BaseAssemblyName.dll
the config file is called
Policy.1.5.BaseAssemblyName.config
and versionned 1.5.0.6
If I look in the assembly/GAC/Policy.1.5.BaseAssemblyName/1.5.0.6__* folder, both the .dll and .config files are there (with __AssemblyInfo__.ini)
I have reasons to think that the binding process looks to it since my test app crashes if I remove the .config file.
Finally, I tried using fuslogvw.exe to know what is going on but nothing gets logged into it.
Any help will be greatly appreciated!
P.S. Here is the content of the config file:
<configuration>
<runtime>
<assemblyBinding>
<dependentAssembly>
<assemblyIdentity name="BaseAssemblyName" publicKeyToken="5deba177a812746c" />
<bindingRedirect oldVersion="1.5.0.5" newVersion="1.5.0.6" />
<!--codeBase version="2.0.0.0" href=" </dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
[Burger King stole my nick!]