Closed ryanmendoza closed 8 years ago
Hello, Ryan!
In the documentation is clearly written:
For correct working of the LibSass Host require assemblies
msvcp120.dll
andmsvcr120.dll
from the Visual C++ Redistributable Packages for Visual Studio 2013.
I've tried Visual C++ Redistributable Packages for Visual Studio 2015 with no success. Maybe just the 2013 works.
Hello, Leandrw!
Have you read the documentation?
Quote from documentation:
For correct working of the LibSass Host require assemblies
msvcp120.dll
andmsvcr120.dll
from the Visual C++ Redistributable Packages for Visual Studio 2013.
Hello, Ryan and Leandro!
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.
Hi @Taritsyn,
I am using Bundle Transformer with the SassAndScssTranslator from NuGet. When I run the project locally, it works fine and I have no issues (scss are compiled to css and sent to client). However, when I try to deploy this to a server (no debug mode), I get the error below. Any ideas?
Server Error in '/' Application.
Could not load file or assembly 'LibSassHost.Native-64.dll' or one of its dependencies. The specified module could not be found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'LibSassHost.Native-64.dll' or one of its dependencies. The specified module could not be found.
Source Error:
Line 11:
Source File: D:\inetpub\wwwroot\My Site\Views\Shared_Layout.cshtml Line: 13
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'LibSassHost.Native-64.dll' or one of its dependencies. The specified module could not be found.] System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) +0 System.Reflection.Assembly.LoadFile(String path) +87 LibSassHost.AssemblyResolver.AssemblyResolveHandler(Object sender, ResolveEventArgs args) +479 System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName) +195
[FileNotFoundException: Could not load file or assembly 'LibSassHost.Native-Proxy, Version=0.4.1.0, Culture=neutral, PublicKeyToken=3e24e88796a38e46' or one of its dependencies. The specified module could not be found.] LibSassHost.SassCompiler..ctor(IFileManager fileManager) +0 BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.Translate(IList
1 assets) +349 BundleTransformer.Core.Transformers.TransformerBase.Translate(IList
1 assets, Boolean isDebugMode) +150 BundleTransformer.Core.Transformers.TransformerBase.Transform(IList1 assets, BundleContext bundleContext, BundleResponse bundleResponse, VirtualPathProvider virtualPathProvider, Boolean isDebugMode) +129 BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext bundleContext, BundleResponse bundleResponse, Boolean isDebugMode) +548 System.Web.Optimization.Bundle.ApplyTransforms(BundleContext context, String bundleContent, IEnumerable
1 bundleFiles) +302 BundleTransformer.Core.Resolvers.CustomBundleResolver.GetBundleResponse(Bundle bundle, BundleContext context) +61 BundleTransformer.Core.Resolvers.CustomBundleResolver.GetBundleContents(String bundleVirtualPath) +205 System.Web.Optimization.AssetManager.EliminateDuplicatesAndResolveUrls(IEnumerable1 refs) +454 System.Web.Optimization.AssetManager.RenderExplicit(String tagFormat, String[] paths) +35 ASP._Page_Views_Shared__Layout_cshtml.Execute() in D:\inetpub\wwwroot\Employee Toolkit\Views\Shared\_Layout.cshtml:13 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122 System.Web.WebPages.<>c__DisplayClass3.<RenderPageCore>b__2(TextWriter writer) +311 System.Web.WebPages.WebPageBase.Write(HelperResult result) +108 System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action
1 body) +89 System.Web.WebPages.WebPageBase.PopContext() +310 System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +90 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList
1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList1 filters, ActionResult actionResult) +81 System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +186 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38 System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29 System.Web.Mvc.Async.WrappedAsyncVoid
1.CallEndDelegate(IAsyncResult asyncResult) +65 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53 System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +36 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38 System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +44 System.Web.Mvc.Async.WrappedAsyncVoid
1.CallEndDelegate(IAsyncResult asyncResult) +65 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38 System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +178