From b415722817e1555d9a6a018ab70faaab0edd263c Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Mon, 20 May 2019 21:35:08 -0400 Subject: [PATCH] Some configuration files are ApplicationFramework-global --- .../Configuration/CommandBars.uexml | 46 +- .../Configuration/Commands.uexml | 704 +++++++++--------- .../Configuration/MainMenu.uexml | 30 +- .../Languages/English.uexml | 328 ++++---- .../Languages/Japanese.uexml | 238 +++--- .../Common/Reflection.cs | 9 +- 6 files changed, 676 insertions(+), 679 deletions(-) diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/CommandBars.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/CommandBars.uexml index 8e2e7703..e6324db7 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/CommandBars.uexml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/CommandBars.uexml @@ -1,24 +1,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/Commands.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/Commands.uexml index bdf91ab4..39486203 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/Commands.uexml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/Commands.uexml @@ -1,354 +1,352 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/MainMenu.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/MainMenu.uexml index 5275d841..b6713ac5 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/MainMenu.uexml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Configuration/MainMenu.uexml @@ -1,16 +1,14 @@ - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.uexml index be2b803f..452073bc 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.uexml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.uexml @@ -1,166 +1,164 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.uexml index 05406c4f..cae5546e 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.uexml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.uexml @@ -1,122 +1,120 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CSharp/Libraries/UniversalEditor.Essential/Common/Reflection.cs b/CSharp/Libraries/UniversalEditor.Essential/Common/Reflection.cs index 4c6e1702..1213a23b 100644 --- a/CSharp/Libraries/UniversalEditor.Essential/Common/Reflection.cs +++ b/CSharp/Libraries/UniversalEditor.Essential/Common/Reflection.cs @@ -217,7 +217,14 @@ namespace UniversalEditor.Common xdf.IncludeTemplates = false; ObjectModel om = mom; - Document.Load(om, xdf, new FileAccessor(fileName, false, false, false), true); + try + { + Document.Load(om, xdf, new FileAccessor(fileName, false, false, false), true); + } + catch (InvalidDataFormatException ex) + { + // ignore it + } foreach (ProjectType projtype in mom.ProjectTypes) {