0

The project I am working on WPF project, and the error it gives me when trying to parse the Main xml file is:

Could not load assembly or file 'Common.Logging'.

I installed the reference to Common.Logging from NuGet, but for version 3.4 rather than the error version of 2.0.0. Is common logging not backward compatible?

Sean
  • 336
  • 1
  • 3
  • 15
  • Nothing is backward compatible in ASP.NET unless you add special configuration telling the linker they are the same. https://msdn.microsoft.com/en-us/library/7wd6ex19%28v=vs.110%29.aspx – Hogan Jan 14 '16 at 20:42
  • OK, but I installed Common.Logging 2.0.0.0, and the it still throws an exception that it can't find the Reference. – Sean Jan 14 '16 at 20:59
  • You probably need to recycle so the assembly cache gets updated – Hogan Jan 14 '16 at 21:01
  • do a google search on "recycle worker process" – Hogan Jan 14 '16 at 21:05
  • I tried that and it still doesn't work. – Sean Jan 14 '16 at 21:14
  • It has been over 10 years since I had to do this but I remember it being very hard to get the syntax exactly right -- double check for typos. – Hogan Jan 15 '16 at 19:40

0 Answers0