If I run the applicaiton from within the IDE everything is fine. If I double-click the exe from outside the IDE, Windows throws errows and shuts down, by presssing more details program provided with more details. In addition. I complied as Release. VS don`t give any errors. Its seem to be Heisenbug
Problem Event Name: CLR20r3
Problem Signature 01: modernuiapp1.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 5283f92e
Problem Signature 04: mscorlib
Problem Signature 05: 1.0.0.0
Problem Signature 06: 4.0.30319.18408
Problem Signature 07: 26fb
Problem Signature 08: System.Windows.Markup.XamlParse
OS Version: 6.2.9200.2.0.0.256.48
Then I pressed debugging buttin, VS thrown such errors
System.Windows.Markup.XamlParseException not processed _HResult = -2146233087 _message = Setting properties "System.Windows.ResourceDictionary.Source"
caused the exception. HResult = -2146233087 IsTransient = false Message = Set property "System.Windows.ResourceDictionary.Source"
caused the exception. Source = PresentationFramework
I will appreciate any help.