From b092c51a55e6e2de503e6f19d9a625db8b01f865 Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Fri, 16 Nov 2018 16:45:39 +0300 Subject: [PATCH] Use `avares://` scheme with proper relative uri handling --- samples/ControlCatalog/App.xaml | 4 +- samples/ControlCatalog/MainWindow.xaml | 2 +- samples/ControlCatalog/Pages/TextBoxPage.xaml | 8 +-- .../DesignWindowLoader.cs | 2 +- .../AvaloniaXamlLoader.cs | 4 +- src/Shared/PlatformSupport/AssetLoader.cs | 52 ++++++++----------- .../StandardRuntimePlatformServices.cs | 1 + 7 files changed, 32 insertions(+), 41 deletions(-) diff --git a/samples/ControlCatalog/App.xaml b/samples/ControlCatalog/App.xaml index bc4c2d38f9..67220e6dd0 100644 --- a/samples/ControlCatalog/App.xaml +++ b/samples/ControlCatalog/App.xaml @@ -2,8 +2,8 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="ControlCatalog.App"> - - + +