Крэш до старта. Можно чем-то вылечить?
Ошибка:
00:00.031 [Main:UnityBootstrapper.Run] Logger was created successfully.
00:00.031 [Main:UnityBootstrapper.Run] Creating module catalog.
00:00.046 [Main:UnityBootstrapper.Run] Configuring module catalog.
00:00.046 [Main:UnityBootstrapper.Run] Creating Unity container.
00:00.093 [Main:UnityBootstrapper.Run] Configuring the Unity container.
00:00.140 [Main:UnityBootstrapper.ConfigureContainer] Adding UnityBootstrapperExtension to container.
00:00.234 [Main:Bootstrapper.ConfigureContainer] ConfigureContainer loaded in 109 ms
00:00.234 [Main:UnityBootstrapper.Run] Configuring ServiceLocator singleton.
00:00.234 [Main:UnityBootstrapper.Run] Configuring region adapters.
00:00.265 [Main:Bootstrapper.ConfigureRegionAdapterMappings] ConfigureRegionAdapterMappings loaded in 31 ms
00:00.265 [Main:UnityBootstrapper.Run] Configuring default region behaviors.
00:00.265 [Main:UnityBootstrapper.Run] Registering Framework Exception Types.
00:00.265 [Main:UnityBootstrapper.Run] Creating the shell.
00:00.796 [Main:Bootstrapper.ApplyTheme] ApplyTheme loaded in 125 ms
00:01.062 [Main:App.App_DispatcherUnhandledException] Exception: System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Markup.StaticExtension' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.Win32Exception: HRESULT_FROM_WIN32(ERROR_NOT_FOUND)
at Standard.HRESULT.ThrowIfFailed(String message)
at Standard.NativeMethods.GetCurrentThemeName(String& themeFileName, String& color, String& size)
at Microsoft.Windows.Shell.SystemParameters2._InitializeThemeInfo()
at Microsoft.Windows.Shell.SystemParameters2..ctor()
at Microsoft.Windows.Shell.SystemParameters2.get_Current()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
at System.Windows.Markup.StaticExtension.GetFieldOrPropertyValue(Type type, String name, Object& value)
at System.Windows.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at HoldemManager.Shell.InitializeComponent()
at HoldemManager.Shell..ctor()
at HoldemManager.Bootstrapper.CreateShell()
at Microsoft.Practices.Composite.UnityExtensions.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)
at HoldemManager.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at HoldemManager.Shell.InitializeComponent()
at HoldemManager.Shell..ctor()
at HoldemManager.Bootstrapper.CreateShell()
at Microsoft.Practices.Composite.UnityExtensions.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)
at HoldemManager.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)