Giter VIP home page Giter VIP logo

Comments (11)

Taritsyn avatar Taritsyn commented on July 19, 2024

Hello, jt3432!

Try to reinstall the Visual C++ Redistributable Packages for Visual Studio 2013.

from libsasshost.

jt3432 avatar jt3432 commented on July 19, 2024

Taritsyn:

Thanks for getting back to me so fast. I uninstalled Visual C++ Redistributable Packages for Visual Studio 2013, rebooted, reinstalled Visual C++ Redistributable Packages for Visual Studio 2013, rebooted and got the same error. Any chance you have any more suggestions?

from libsasshost.

Taritsyn avatar Taritsyn commented on July 19, 2024

First of all, check existence of LibSassHost.Native-32.dll and LibSassHost.Native-64.dll files in bin/LibSassHost.Native (or bin/Release/LibSassHost.Native) directory. If these files exist, then problem is at the level of the operating system.

Have already been similar cases due to the fact, that the operating system was “dirty”. Try to check your work on another computer or virtual machine.

from libsasshost.

Taritsyn avatar Taritsyn commented on July 19, 2024

Also I recommend to see “Failed to load C module in new appdomain” discussion on Stack Overflow.

from libsasshost.

jt3432 avatar jt3432 commented on July 19, 2024

I have seen that discussion already about the appdomain and that did not work to resolve the issue either. In fact the config that is suggested to add was already in place. Even tried to removing it with the same issue happening. Both architectures of LibSassHost.Navtive were in the bin, even tried to move them to the root of the bin and delete one of them to see if they were conflicting for some reason, no luck. Obviously there is some configuration that I am missing but I have not idea what it could be. I did recently reload my PC so I might be missing some other library or something. I also though of trying the code on a different machine. Unfortunately, I do not have any more time to figure it out right now and have had to go in another directions. Wish I could use your library, I really liked your implementation a lot. Thanks for the help and code anyway. :-)

from libsasshost.

Taritsyn avatar Taritsyn commented on July 19, 2024

... even tried to move them to the root of the bin ...

It is better not to do so.

from libsasshost.

AndersMad avatar AndersMad commented on July 19, 2024

I have the same problem - worked fine on a pet asp.net project, but after moving over into a bigger project (more than one project DLL's? or async) i had the same problem until i added using (var compiler = new LibSassHost.SassCompiler()) {} to the application start. After that, the per requests worked fine.

from libsasshost.

Taritsyn avatar Taritsyn commented on July 19, 2024

@AndersMad Try version 1.0.0 Alpha 1, there are a lot has changed.

from libsasshost.

AndersMad avatar AndersMad commented on July 19, 2024

@Taritsyn confirmed - it works now with out the "hack", thanks!.. fyi @jt3432

from libsasshost.

Taritsyn avatar Taritsyn commented on July 19, 2024

@jt3432 @AndersMad Try version 1.0.0.

from libsasshost.

jt3432 avatar jt3432 commented on July 19, 2024

Thanks for the update.

from libsasshost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.