Browse Source

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

Fixes https://github.com/AvaloniaUI/AvaloniaVS/issues/257
pull/13142/head
Prashant Cholachagudda 3 years ago
committed by GitHub
parent
commit
80adf7dd7c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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