From aefe41b55a354ce61dd0c263fa3f5381aed8d02e Mon Sep 17 00:00:00 2001 From: Prashant Cholachagudda Date: Thu, 5 Oct 2023 04:13:29 +0530 Subject: [PATCH] Ambiguous error message when you load App.axaml (#13129) Fixes https://github.com/AvaloniaUI/AvaloniaVS/issues/257 --- src/Avalonia.DesignerSupport/DesignWindowLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.DesignerSupport/DesignWindowLoader.cs b/src/Avalonia.DesignerSupport/DesignWindowLoader.cs index 0a901ae798..1b8e0c18e8 100644 --- a/src/Avalonia.DesignerSupport/DesignWindowLoader.cs +++ b/src/Avalonia.DesignerSupport/DesignWindowLoader.cs @@ -90,7 +90,7 @@ namespace Avalonia.DesignerSupport }; } else if (loaded is Application) - control = new TextBlock { Text = "Application can't be previewed in design view" }; + control = new TextBlock { Text = "This file cannot be previewed in design view" }; else control = (Control)loaded;