

net 2.0 (Yeah! Actually if you would download you will see.)Īfter all of this, they created new sub-release of their sources especially for us and they were able to fix some minor bug. net framework 1.1, and we should use one built with. When I tried it got working!!! Actually I guess that they simply used version of log4net buit with references to. This surprised me very much, so I went to this download page and downloaded latest binaries. So they sent as simple application that demonstrates this, and indeed, after updating config when app is running, 1.2.10.0 did not catch up new configuration, but 1.2.9.0 was working just fine. i am facing this issue on web apps & cloud service both. By their words, new version of log4net is not capable of doing this. Azure Could not load file or assembly log4net, Version1.2.10.0. They gave us know, that they were encountering issues with updating on-the-fly configuration file for log4net 1.2.10.0. We contacted those guys, who developed component we now should use.


The system cannot find the file specified." Import-Module MyModule fails with this error: "Could not load file or assembly ‘MyLibrary, Version=1.0.0.0, Culture=neutral.Add MyLibrary.dll to the RequiredAssemblies list of the module.Assemblies in the GAC with a different processorArchitecture are ignored and not loaded.īTW: Removing the assembly from the GAC isn't an option because this will break the software that installes log4net in the GAC: SAP Crystal Reports runtime engine for. the processorArchitecture of the assembly in the GAC does not match the architecture of the PowerShell (圆4 for PowerShell 圆4/x86 for PowerShell x86) and is not MSIL.there is an assembly with the same (strong?) name in the GAC.it should load an assembly because it is in the RequiredAssemblies list.

The PowerShell seems to raise an error when: but differ in the processorArchitecture.both have the same PublicKeyToken: 692fbea5521e1304.The already installed log4net assembly in the GAC and the log4net assembly shiped by PowerCli: The log4net assembly is explicitly loaded by the PowerShell because it is in the RequiredAssemblies list of the 1 module manifest (see 1). PowerCLI ships a log4net assembly in the "Modules\" folder. The problem is caused by a log4net assembly in the GAC (Global Assembly Cache). The system cannot find the file specified." The x86 PowerCLI starts without any problems. When starting the 圆4 PowerCLI all PowerCLI modules cannot be loaded because this error: "Could not load file or assembly ‘log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304’ or one of its dependencies. btw Get-ErrorReport won't work for this bug. I don't know where to report PowerCLI bugs.
