Console
Console copied to clipboard
Could not load file or assembly log4net when trying to set up local development environment
I'm trying to set up the local dev environment. I managed to build the solution successfully but when I navigate to the website I get this error:
Could not load file or assembly 'log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

When you compiled did you copy more than just the SPE files?
Sry... what do you mean? I didn't manually copy any file when I compiled. I thought the changes are automatically deployed to my website root folder.
Idk if it matters but I had a normal installation of SPE 6.2 before I tried doing this.
Anyway I did a system restore and now the website is working well but I would still like to get the SPE Dev running so I can play with the code and contribute.
Thank you for your input @michaellwest !
Also in my sitecore solution in Web.config file I have this:

It should redirect the version to 2.0.8.0 but for some reason it doesn't.
Are you running this with docker locally or with a standard installation like with SIF? What might have happened is when you compiled the visual studio solution it may have deployed dependencies that don't match what's in the web config.
SIF probably... I don't remember using docker at all.
I installed SiteCore manually using the installer.

Do you have any idea how to fix it?