we use NSASS to compile our Sass files into css ( https://github.com/TBAPI-0KA/NSass ). NSASS is configured and works great in a development environment. But when we try to deploy it on our test server, we cannot start NSSS.
We keep getting
Exception information:
Exception type: FileNotFoundException
Exception message: Could not load file or assembly 'NSass.Wrapper.x64.dll' or one of its dependencies. The specified module could not be found.
at NSass.SassCompiler..ctor()
at NSass.SassHandler..ctor()
The problem is that NSASS uses some dynamic way to load these DLLs, which does not seem to work. The DLL is located in \ bin \ NSass.Wrapper, but fuslogvw logs that it is only trying to search the bin directory. The dynamic way to load this DLL is so that it loads x86 or x64 depending on the OS, if I understand correctly.
For the NSASS bin download code: https://github.com/TBAPI-0KA/NSass/blob/master/NSass.Core/AssemblyResolver.cs
I tried moving the dll files (both X64 and x86) to the bin folder, but I get the same error as in the event viewer, even if fuslogvw says that everything is fine.
Anyone have any tips on what I can do as the next step to try and solve this problem?
Edit: The trial log is AppDomain.CurrentDomain.SetupInformation.PrivateBinPath, and it points to the bin folder, as it should be, and AppDomain.CurrentDomain.BaseDirectory points to the desired folder. Not sure if something will change CurrentDomain from Application_Start, where I register before the assembly load of NSASS files.
. - EPiServer, , EPiServer - . , Dev?