Browse Source

Ambiguous error message when you load App.axaml (#13129)

Fixes https://github.com/AvaloniaUI/AvaloniaVS/issues/257
release/11.0.6
Prashant Cholachagudda 3 years ago
committed by Max Katz
parent
commit
aefe41b55a
  1. 2
      src/Avalonia.DesignerSupport/DesignWindowLoader.cs

2
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;

Loading…
Cancel
Save