System.ApplicationException crossed a native/managed boundary
Message=Package loading and application bootstrapping failed
FubuMVC.Core.Packaging.StandaloneAssemblyPackageLoader
System.IO.FileLoadException: Could not load file or assembly 'Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=null'
at Bottles.Zipping.ZipFileService.ExtractTo(String description, Stream stream, String directory)
at Bottles.Exploding.PackageExploder.<>c__DisplayClass19.<explodeAssembly>b__18(String name)
at System.Collections.Generic.GenericEnumerableExtensions.Each[T](IEnumerable`1 values, Action`1 eachAction)
at Bottles.Exploding.PackageExploder.explodeAssembly(Assembly assembly, String directory)
at Bottles.Exploding.PackageExploder.<>c__DisplayClass16.<ExplodeAssembly>b__14()
at Bottles.Exploding.PackageExploder.explode(ExplodeRequest request)
at Bottles.Exploding.PackageExploder.ExplodeAssembly(String applicationDirectory, Assembly assembly, IPackageFiles files)
at Bottles.Assemblies.AssemblyPackageInfo.CreateFor(Assembly assembly)
at Bottles.Assemblies.AssemblyPackageInfo.CreateFor(String fileName)
at FubuMVC.Core.Packaging.StandaloneAssemblyPackageLoader.<Load>b__0(String assembly)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Bottles.PackagingRuntimeGraph.<findAllPackages>b__6(IPackageLoader loader)
at Bottles.Diagnostics.PackagingDiagnosticsExtensions.<>c__DisplayClass2`1.<>c__DisplayClass4.<LogExecutionOnEach>b__1()
at Bottles.Diagnostics.PackageLog.Execute(Action continuation)
=== Pre-bind state information ===
LOG: User = isomorphism\xyz
LOG: DisplayName = Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///D:/code/throw-away/Mischief/Mischief/
LOG: Initial PrivatePath = D:\code\throw-away\Mischief\Mischief\bin
Calling assembly : Bottles, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\code\throw-away\Mischief\Mischief\web.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Users/xyz/AppData/Local/Temp/Temporary ASP.NET Files/root/272256eb/d98feb62/Ionic.Zip.DLL.
LOG: Attempting download of new URL file:///C:/Users/xyz/AppData/Local/Temp/Temporary ASP.NET Files/root/272256eb/d98feb62/Ionic.Zip/Ionic.Zip.DLL.
LOG: Attempting download of new URL file:///D:/code/throw-away/Mischief/Mischief/bin/Ionic.Zip.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
------------------------------------------------------------------------------------------------
Source=Bottles
StackTrace:
at Bottles.PackageRegistry.<AssertNoFailures>b__a()
at Bottles.PackageRegistry.AssertNoFailures(Action failure)
at Bottles.PackageRegistry.AssertNoFailures()
at FubuMVC.Core.FubuApplication.Bootstrap()
at FubuMVC.Core.FubuApplication.Bootstrap(IList`1 routes)
at Mischief.App_Start.AppStartFubuMVC.Start() in D:\code\throw-away\Mischief\Mischief\App_Start\FubuMVC.cs:line 17
InnerException:
Hmm, let's see if I can get sinatra up and running then! Figured I'd give it a take or two with fubu, but this is getting old.