This is the details of the exception (it seems a problem around titlebar element):
System.Windows.Markup.XamlParseException verificata
HResult=-2146233087
LineNumber=11
LinePosition=9
Message='È stata generata un'eccezione durante la specifica di un valore su 'System.Windows.StaticResourceExtension'.' numero riga '11' e posizione riga '9'.
Source=PresentationFramework
StackTrace:
in System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
in System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
in System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
in System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
in Codepoint.EasyWarehouse.WpfRegistrationUtility.MainWindow.InitializeComponent() in C:\Users\Ricky\Documents\TFS Repos\WpfRegistrationUtility\MainWindow.xaml:riga 1
InnerException:
HResult=-2146233088
LineNumber=0
LinePosition=0
Message=Record imprevisto nel flusso Baml. Tentativo di aggiungere a TitleBar che non è una raccolta o ha un TypeConverter.
Source=PresentationFramework
StackTrace:
in System.Windows.Baml2006.Baml2006Reader.InjectPropertyAndFrameIfNeeded(XamlType elementType, SByte flags)
in System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
in System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
in System.Windows.Baml2006.Baml2006Reader.ReadObject(KeyRecord record)
in System.Windows.ResourceDictionary.CreateObject(KeyRecord key)
in System.Windows.ResourceDictionary.OnGettingValue(Object key, Object& value, Boolean& canCache)
in System.Windows.ResourceDictionary.OnGettingValuePrivate(Object key, Object& value, Boolean& canCache)
in System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)
in System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
in System.Windows.ResourceDictionary.FetchResource(Object resourceKey, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean canCacheAsThemeResource, Boolean& canCache)
in System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe, FrameworkContentElement fce, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, Boolean isImplicitStyleLookup, Object& source)
in System.Windows.StaticResourceExtension.FindResourceInAppOrSystem(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference)
in System.Windows.StaticResourceExtension.FindResourceInEnviroment(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference)
in System.Windows.StaticResourceExtension.TryProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference)
in System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
in System.Windows.StaticResourceExtension.ProvideValue(IServiceProvider serviceProvider)
in MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
InnerException: