From 1e5e4e578f5db1cef78d820383751d25389b99be Mon Sep 17 00:00:00 2001 From: ema Date: Mon, 30 Sep 2024 10:15:43 +0800 Subject: [PATCH] fix: pack scheme --- src/Flurib/FluriBuilder.Pack.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Flurib/FluriBuilder.Pack.cs b/src/Flurib/FluriBuilder.Pack.cs index 774e384..2603ff9 100644 --- a/src/Flurib/FluriBuilder.Pack.cs +++ b/src/Flurib/FluriBuilder.Pack.cs @@ -19,6 +19,7 @@ public FluriBuilder CreatePackUri(string packUriPath) /// /// Create a resource URI + /// pack://application:,,,/Assets/Images/logo.ico /// /// /// @@ -30,13 +31,14 @@ public FluriBuilder CreateResourceUri(string resourcePath) /// /// Create a cross-assembly resource URI + /// pack://application:,,,/Flurib;component/Assets/Images/logo.ico /// /// /// /// public FluriBuilder CreateAssemblyResourceUri(string assemblyName, string resourcePath) { - IrregularUri = new Uri($"{UriSchemePack}://application:,,,/,{assemblyName};component/{resourcePath}", UriKind.Absolute); + IrregularUri = new Uri($"{UriSchemePack}://application:,,,/{assemblyName};component/{resourcePath}", UriKind.Absolute); return this; } }