Compiling 4.0 - Redlock.net.StrongName version problem

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
I can only compile the solution if I downgrade the nuget package Redlock.net.StrongName to 1.7.4
with the current 2.0.0 version there are some types like RedisLockFactory in RedisConnectionWrapper.cs  missing.  Is it OK I change class naming in the code accordingly to stay with 2.0.0, or are there also some functional changes I will screw up the code.

I am confused because the untouched solution loads version 2.0.0, how do you guys compile it?
5 years ago
I am upgrading my development site from 4.0 to 4.1. I use the no source version.
I've run the database upgrade script and replaced the files in my site with the 4.1 archive. I fixed my connectionstring and replaced the installedplugins.json file.

When I try to load my site, it gives the "An error has occurred.." message.
I enabled the stdlogfile and tried again to load my site. This is the error sent to the stdlog file:

Application startup exception: System.IO.FileNotFoundException: Could not load file or assembly 'RedLock.StrongName, Version=1.7.5.0, Culture=neutral, PublicKeyToken=1dffde0a6c007f07'. The system cannot find the file specified.

I confirmed that the file is in my web root.

Further down in the stdlog, I see many references to project solution paths like this:

C:\andrei\nopcommerce\sources\src\Libraries\Nop.Core\Infrastructure\AppDomainTypeFinder.cs:line 114
   at Nop.Core.Infrastructure.WebAppTypeFinder.GetAssemblies() in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Core\Infrastructure\WebAppTypeFinder.cs:line 59
   at Nop.Core.Infrastructure.NopEngine.ConfigureServices(IServiceCollection servic


Can this be the problem?
5 years ago
One other thing...
I couldn't find the .NET Core 2.1 Runtime, so I installed the .NET Core 2.2 Runtime & Hosting Bundle for Windows (v2.2.1)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.