andrewdavey / andrewdavey/cassette
AjaxMin Version Dependency in Nuget
- 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.

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!

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.