Comments (12)
Hello!
https://github.com/Taritsyn/LibSassHost/blob/master/LICENSE
from libsasshost.
I published a full text of license.
from libsasshost.
Thanks. I tried it anyway, it doesnt work with .Net Core apps. Any plan to fix that?
from libsasshost.
I tried it anyway, it doesnt work with .Net Core apps.
Everything works. There is even a sample project.
from libsasshost.
Not .Net Core 2.0. New console app, add LibSassHost, add sample code:
const string inputContent = @"$font-stack: Helvetica, sans-serif;
$primary-color: #333;
body {
font: 100% $font-stack;
color: $primary-color;
}
/* Стрелка вниз */
.down-arrow:before {
content: ""▼"";
}";
try
{
var options = new CompilationOptions { SourceMap = true };
CompilationResult result = SassCompiler.Compile(inputContent, "input.scss", "output.css",
options: options);
}
catch (SassСompilationException e)
{
}
DllNotFoundException: Unable to load DLL 'libsass': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
from libsasshost.
What packages did you install?
from libsasshost.
LibSassHost
from libsasshost.
So you did not read the documentation 👎
Read at least the “Installation” section of documentation.
from libsasshost.
So it's not cross platform then and basically makes it pointless for .Net core. Changed to https://github.com/xoofx/SharpScss, just works
from libsasshost.
So it's not cross platform then and basically makes it pointless for .Net core.
You didn't understand me. Cross-platform the LibSass does not exist in nature.
Changed to https://github.com/xoofx/SharpScss, just works
SharpScss package still contains the native assemblies for four platforms: win-x86, win-x64, linux-x64 and osx-x64. In my project the native assemblies are delivered in separate packages: LibSassHost.Native.win-x86, LibSassHost.Native.win-x64, LibSassHost.Native.debian-x64 and LibSassHost.Native.osx-x64.
from libsasshost.
Yes but thats a problem. Then any cross platform project that uses this project would only work on the specific platform you reference the .Native. files from... unless yours will work if I just reference every native library?
If so, I would suggest having perhaps LibSassHost.Fulll or .All or something, so its a clean simple single nuget package to install for others that will "just work"?
from libsasshost.
If so, I would suggest having perhaps LibSassHost.Fulll or .All or something, so its a clean simple single nuget package to install for others that will "just work"?
Question is closed. Use the SharpScss or any other similar library.
from libsasshost.
Related Issues (20)
- When used inside a Microsoft.Build.Framework.ITask, the whole process crashes if there's an SCSS error HOT 10
- request: non-static file manager HOT 6
- Unable to load DLL 'libsass' on Windows Server 2008 R2 HOT 2
- How to @import partials HOT 1
- SassСompilationException contains cyrillic character HOT 4
- [BUG] Upgrade to v1.3.1 adds `/c/` to paths HOT 7
- Combining a string of sass with an scss file HOT 5
- `@use` rule doesn't compile HOT 6
- application o virtual directory HOT 2
- On azure webapp getting "An attempt was made to load a program with an incorrect format" HOT 2
- Error: File to import not found or unreadable HOT 23
- LibSassBuilder HOT 2
- Support for Memory<char> as parameter and result CSS
- Sass Modules Support HOT 8
- .NET 6 on Apple Silicon HOT 7
- How to utilize with Blazor? HOT 2
- Updating System.Buffers in .Net Framework project breaks dll-mapping to libsasshost version HOT 2
- Calling from Powershell, cannot load dependent assemblies HOT 4
- Variables are not compiled when scss is compiled HOT 3
- The type initializer for 'LibSassHost.SassCompiler' threw an exception HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libsasshost.