Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Could not load file or assembly 'log4net' or one of its dependencies. An at

Hi guys,

Yesterday I downloaded the CR release for VS2010. Before this I was using the Beta (and later Beta2) version. Both worked fine. I first uninstalled the beta version, next I installed the release version. No problems with installing. But now I'm trying to use CR. I get the error:

"Could not load file or assembly 'log4net' or one of its dependencies. An attempt was made to load a program with an incorrect format.".

I noticed that it has something to do with the runtime enviroment. If I set the project's platform target to x86, it works fine. Turning it back to 'any CPU' or x64, it results in that error. (I'm using w7 x64).

I did install the the x64 runtime (CRRuntime_64bit_13_0.msi, also asked at the end of the installation).

Any ideas how to solve this?

Why is CR using log4net anyway?

Best,

Danny

Former Member
replied

Hi Robert,

David has found a possible solution. See this [thread |http://forums.sdn.sap.com/click.jspa?searchID=67325183&messageID=9848374]on how to:

http://forums.sdn.sap.com/click.jspa?searchID=67325183&messageID=9848374

Thank you

Don

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question