Skip to content

Commit

Permalink
Ambiguous error message when you load App.axaml (#13129)
Browse files Browse the repository at this point in the history
  • Loading branch information
prashantvc authored Oct 4, 2023
1 parent f8ec196 commit 80adf7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.DesignerSupport/DesignWindowLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static Window LoadDesignerWindow(string xaml, string assemblyPath, string
};
}
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;

Expand Down

0 comments on commit 80adf7d

Please sign in to comment.