andrewdavey / andrewdavey/cassette

AjaxMin Version Dependency in Nuget

Offen
#409 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
531
Forks
139
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Cassette has a AjaxMin dependency on version 4.84 or greater.
![image](https://f.cloud.github.com/assets/462013/1087179/8ae3d7f4-1610-11e3-80fc-c24d96c3df53.png)

I was updating AjaxMin to the latest version (4.97.4951.28483) and get an assembly load error:

``` log
System.Exception: Bundle collection rebuild failed. See inner exception for details. --->
Cassette.TinyIoC.TinyIoCResolutionException: Unable to resolve type: Cassette.BundleProcessing.IBundlePipeline`1[[Cassette.Scripts.ScriptBundle, Cassette, Version=2.2.2.34609, Culture=neutral, PublicKeyToken=null]] --->
Cassette.TinyIoC.TinyIoCResolutionException: Unable to resolve type: Cassette.Scripts.ScriptPipeline ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->
Cassette.TinyIoC.TinyIoCResolutionException: Unable to resolve type: Cassette.Scripts.IJavaScriptMinifier ---> System.IO.FileLoadException: Could not load file or assembly 'AjaxMin, Version=4.84.4790.14405, 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)
```

I figured out that cassette has a fix version dependency!
![image](https://f.cloud.github.com/assets/462013/1087200/f5afdb5a-1610-11e3-9181-6007dbd01efe.png)

I tried to add a `` like that into my `web.config` with success:

``` xml







```

To bypass this workaround please remove the version-dependency from Cassette to AjaxMin because many people don't know how to deal with this Problem and the documentation doesn't tell anything about that.

Thanks

Btw: the steps above were discovered during writing the issue. It's an example how long one will need to get around that.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.