How to make BundleTransformer work on Windows Server Core

不羁岁月 提交于 2019-12-13 01:35:02

问题


Ever since we found dotLess stopped working for us our ASP.NET MVC project has been using BundleTransformer for our LESS bundling and minification. We are trying to migrate our CI build agents to use Windows Server Core (headless) and away from Windows Server Standard. When we did this we started receiving Internal Server Errors when trying to hit our pages. This seems to be blowing up inside of BundleTransformer.

We initially were using BundleTransformer with http://www.nuget.org/packages/JavaScriptEngineSwitcher.Msie

From reading this post I thought maybe it was that we were missing the dependency on Internet Explorer. http://bundletransformer.codeplex.com/discussions/454495

I tried to use the v8 engine switcher and started getting server errors on my Windows Standard setup. http://www.nuget.org/packages/JavaScriptEngineSwitcher.V8

Has anyone successfully managed to get BundleTransformer working on a Windows Server Core environment? Anything would help. Thank you.


回答1:


You have installed the Visual C++ Redistributable for Visual Studio 2012 before you install the JavaScriptEngineSwitcher.V8 package?

Give an example of the error message.



来源:https://stackoverflow.com/questions/27231975/how-to-make-bundletransformer-work-on-windows-server-core

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!