System.ArgumentException was unhandled Message="Value does not fall within the expected range." Source="PresentationCore" StackTrace: at System.Windows.Media.Composition.DUCE.Channel.ReleaseOnChannel(ResourceHandle handle) at System.Windows.Media.Composition.DUCE.MultiChannelResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Media3D.GeometryModel3D.ReleaseOnChannelCore(Channel channel) at System.Windows.Media.Media3D.Model3D.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Media3D.Model3DGroup.ReleaseOnChannelCore(Channel channel) at System.Windows.Media.Media3D.Model3D.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Media3D.Model3DGroup.ReleaseOnChannelCore(Channel channel) at System.Windows.Media.Media3D.Model3D.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Media3D.Visual3D.FreeDUCEResources(Channel channel) at System.Windows.Media.Media3D.Visual3D.ReleaseOnChannelCore(Channel channel) at System.Windows.Media.Media3D.Viewport3DVisual.FreeContent(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) at System.Windows.Media.Composition.DUCE.Channel.ProcessReleaseCommand() at System.Windows.Media.Composition.DUCE.Channel.Close() at System.Windows.Media.MediaContext.ChannelManager.RemoveChannels() at System.Windows.Media.MediaContext.RemoveChannels() at System.Windows.Media.MediaContext.Dispose() at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Threading.Dispatcher.ShutdownImplInSecurityContext(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.Dispatcher.ShutdownImpl() at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunInternal(Window window) at FluidKit.Showcase.App.Main() in C:\CodePlex\fluidkit\FluidKit\FluidKit.Showcase\obj\Debug\App.g.cs:line 0 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: System.ArgumentException Message="Value does not fall within the expected range." InnerException: