问题描述
自从发现dotLess停止为我们工作以来,我们的ASP.NET MVC项目就一直在使用BundleTransformer进行LESS捆绑和缩小.我们正在尝试将CI构建代理迁移为使用Windows Server Core(无头),并远离Windows Server Standard.当我们这样做时,我们在尝试访问我们的页面时开始收到内部服务器错误.这似乎在BundleTransformer内部爆炸了.
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.
我们最初将BundleTransformer与 http://www.nuget.org/packages/JavaScriptEngineSwitcher一起使用.女士
We initially were using BundleTransformer with http://www.nuget.org/packages/JavaScriptEngineSwitcher.Msie
通过阅读这篇文章,我认为也许是我们缺少对Internet Explorer的依赖. http://bundletransformer.codeplex.com/discussions/454495
From reading this post I thought maybe it was that we were missing the dependency on Internet Explorer.http://bundletransformer.codeplex.com/discussions/454495
我尝试使用v8引擎切换器,并开始在Windows Standard安装程序中收到服务器错误. http://www.nuget.org/packages/JavaScriptEngineSwitcher.V8
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
有没有人成功地使BundleTransformer在Windows Server Core环境中工作?一切都会有帮助的.谢谢.
Has anyone successfully managed to get BundleTransformer working on a Windows Server Core environment? Anything would help. Thank you.
推荐答案
您已经安装了可用于Visual Studio 2012的Visual C ++ Redistributable ,然后再安装JavaScriptEngineSwitcher.V8软件包?
You have installed the Visual C++ Redistributable for Visual Studio 2012 before you install the JavaScriptEngineSwitcher.V8 package?
给出错误消息的示例.
这篇关于如何使BundleTransformer在Windows Server Core上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!