|
From: <as...@sz...> - 2012-01-10 15:58:58
|
Hi,
Thaks your reply, I tried it:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="log4net"
publicKeyToken="1b44e1d426115821" culture="neutral" />
<bindingRedirect oldVersion="1.2.10.0" newVersion="1.2.11.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
it was OK, but the XmlConfigurator.ConfigureAndWatch of log4net 1.2.10
is not compatible with 1.2.11, thus I must rewrite my code too.
System.MissingMethodException:
Method not found:
'Void log4net.Config.XmlConfigurator.ConfigureAndWatch(System.IO.FileInfo)'.
Attila.
Idézet (Bruno Baia <br...@gm...>):
> Hi,
>
> Use binding redirection:
> http://msdn.microsoft.com/en-us/library/eftw1fys.aspx
>
>
> - Bruno
>
> 2012/1/10 <as...@sz...>
>
>> Dear Team,
>>
>> I would like to use log4net 1.2.11, but the SpecificVersion is true in
>> the Common.Logging.Log4Net.2008.csproj file.
>>
>> Can you issue a new version with SpecificVersion is false?
>>
>> Thanks a lot,
>> Attila.
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Write once. Port to many.
>> Get the SDK and tools to simplify cross-platform app development. Create
>> new or port existing apps to sell to consumers worldwide. Explore the
>> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>> http://p.sf.net/sfu/intel-appdev
>> _______________________________________________
>> Netcommon-developer mailing list
>> Net...@li...
>> https://lists.sourceforge.net/lists/listinfo/netcommon-developer
>>
>
|