Taritsyn / LibSassHost

.NET wrapper around the LibSass library with the ability to support a virtual file system.
Apache License 2.0
82 stars 11 forks source link

C++ 2017 redistributable breaks libsass #25

Closed ChaosYoda closed 6 years ago

ChaosYoda commented 6 years ago

The C++ 2017 redistributable replaces 2015 and that breaks libsass.

Previously where bootstrap.sass files compiled correctly it now failed with "File to import not found or unreadable: Modules/variables. On this line.

@import "Modules/variables";

Nothing has been changed to any sass file.

Using

LibSassHost version v1.1.4 (was on 0.5.0) upgrading did not help LibSassHost.Native.win-x64 v1.1.4

Taritsyn commented 6 years ago

Hello!

In documentation clearly written:

Requires api-ms-win-core-*.dll, api-ms-win-crt-*.dll, concrt140.dll, msvcp140.dll, ucrtbase.dll and vcruntime140.dll assemblies from the Microsoft Visual C++ 2015 Redistributable.

In case of the Microsoft Visual C++ Redistributable: 2017 version (or higher) can't replace the 2015 version.

File to import not found or unreadable: Modules/variables.

But, most likely, this error caused by something else.

ChaosYoda commented 6 years ago

Microsoft Visual C++ Redistributable: 2017 does replace 2015. But it was due to a folder that was moved, upgrading to v1.4 gave a better error that helped find this issue over v0.5.0

Taritsyn commented 5 years ago

Hello!

Since version 1.2.6 the MSVC runtime was embedded into the native assemblies for Windows. Now you do not need to install the Microsoft Visual C++ Redistributable.