2016-04-01 4 views
1

Ajaxmin 4.96.4941でsquishitバージョン0.9.8.2をインストールしました。 \ DEV \ urandomが\ SquishIt \ SquishIt.Framework:問題は、私はASP.netサイトを実行したときに、私はCでエラーSquishitはAjaxMinバージョン4.48.4489.28432を探し続ける

[FileLoadException: Could not load file or assembly 'AjaxMin, Version=4.48.4489.28432, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] 

SquishIt.Framework.Minifiers.JavaScript.MsMinifier.Minify(文字列の内容)を取得することです\ Minifiers \ JavaScriptの\ MsMinifier.cs:31 SquishIt.Framework.Base.BundleBase 1.MinifyIfNeeded(String content, Boolean minify) in c:\dev\urandom\SquishIt\SquishIt.Framework\Base\BundleBase.Rendering.Internals.cs:340 System.Linq.WhereSelectArrayIterator 2.MoveNext()+110 System.Linq.d__16 2.MoveNext() +348 System.Collections.Generic.List 1..ctor(IEnumerableを1 collection) +476 System.Linq.Enumerable.ToList(IEnumerable 1つのソース)69 SquishIt.Framework。 JavaScript.JavaScriptBundle.AggregateContent(List 1 assets, StringBuilder sb, String outputFile) in c:\dev\urandom\SquishIt\SquishIt.Framework\JavaScript\JavaScriptBundle.cs:84 SquishIt.Framework.Base.BundleBase)1.GetMinifiedContent(リスト1 assets, String outputFile) in c:\dev\urandom\SquishIt\SquishIt.Framework\Base\BundleBase.Rendering.Internals.cs:333 SquishIt.Framework.Base.BundleBase)1.RenderRelease(String key、String renderTo、IRendererレンダラー)をc:\ dev \ urandom \ SquishIt \ SquishIt.Framework \ Base \ BundleBasに配置します。 e.Rendering.Internals.cs:290

答えて

0

私はある時点で4.96に問題があったと思いますが、何を覚えていないのでしょうか。バインディングリダイレクトを追加しようとしましたか?

4.97.4951.28483に更新することをお勧めします(またはYUIミニライザを使用する)。どこかglobal.asax.cs後者については

、(あなたが任意のバンドルレンダリングを行う前に)

Bundle.ConfigureDefaults().UseYuiForJsMinification()

関連する問題