You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using version 1.2.10, I get the following exception, though it is expected to have MSVC runtime embedded into native assemblies:
Unable to load DLL 'libsass': Exception from HRESULT: 0xC000001D
at LibSassHost.Internal.Native.Sass_Api.libsass_version()
at LibSassHost.SassCompiler.Initialize()
at LibSassHost.SassCompiler.Initialize()
Just in case, there are both x64 and x86 subfolders with the native libraries within, so whether it is a 32-bit or 64-bit environment should not be an issue. I tried installing the runtime explicitly but to no avail.
I am not sure if libsass calls Windows 8 API that is not supported by Windows Server 2008 R2, which could cause the exception. Anyway I finally got it working by replacing those libraries with the ones from the libsass repository. The DLLs differ greatly in size, which makes me think of some incompleteness of LibSassHost.Native packages.
EDIT: Only Version and LanguageVersion worked but not Compile(). I recompiled libsass with MFC being a static library and that did the trick.
The text was updated successfully, but these errors were encountered:
When using version
1.2.10
, I get the following exception, though it is expected to have MSVC runtime embedded into native assemblies:Just in case, there are both x64 and x86 subfolders with the native libraries within, so whether it is a 32-bit or 64-bit environment should not be an issue. I tried installing the runtime explicitly but to no avail.
I am not sure if
libsass
calls Windows 8 API that is not supported by Windows Server 2008 R2, which could cause the exception. Anyway I finally got it working by replacing those libraries with the ones from the libsass repository. The DLLs differ greatly in size, which makes me think of some incompleteness of LibSassHost.Native packages.EDIT: Only
Version
andLanguageVersion
worked but notCompile()
. I recompiledlibsass
with MFC being a static library and that did the trick.The text was updated successfully, but these errors were encountered: