diff --git a/common.props b/common.props index 79e53097..a1ea5bf8 100644 --- a/common.props +++ b/common.props @@ -36,8 +36,8 @@ --> - - + + diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/Hosting/AppHostBuilderExtensions.cs b/src/SharedMauiXamlStylesLibrary.Syncfusion/Hosting/AppHostBuilderExtensions.cs index fb6b5ecf..4b8243e4 100644 --- a/src/SharedMauiXamlStylesLibrary.Syncfusion/Hosting/AppHostBuilderExtensions.cs +++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/Hosting/AppHostBuilderExtensions.cs @@ -25,8 +25,8 @@ public static MauiAppBuilder RegisterSharedSyncfusionFonts(this MauiAppBuilder b FontDescriptor fontDescriptor = fonts.FirstOrDefault(f => f.Filename == font.Key); if (fontDescriptor == null) { - fonts.AddEmbeddedResourceFont(typeof(AppHostBuilderExtensions).Assembly, font.Key, font.Value); - //fonts.AddFont(font.Key, font.Value); + //fonts.AddEmbeddedResourceFont(typeof(AppHostBuilderExtensions).Assembly, font.Key, font.Value); + fonts.AddFont(font.Key, font.Value); } } }); diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/SharedMauiXamlStylesLibrary.Syncfusion.csproj b/src/SharedMauiXamlStylesLibrary.Syncfusion/SharedMauiXamlStylesLibrary.Syncfusion.csproj index b0955e08..2e802915 100644 --- a/src/SharedMauiXamlStylesLibrary.Syncfusion/SharedMauiXamlStylesLibrary.Syncfusion.csproj +++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/SharedMauiXamlStylesLibrary.Syncfusion.csproj @@ -42,34 +42,26 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/src/SharedMauiXamlStylesLibrary/Hosting/AppHostBuilderExtensions.cs b/src/SharedMauiXamlStylesLibrary/Hosting/AppHostBuilderExtensions.cs index f869f7af..eb37b3ad 100644 --- a/src/SharedMauiXamlStylesLibrary/Hosting/AppHostBuilderExtensions.cs +++ b/src/SharedMauiXamlStylesLibrary/Hosting/AppHostBuilderExtensions.cs @@ -24,8 +24,8 @@ public static MauiAppBuilder RegisterSharedFonts(this MauiAppBuilder builder) FontDescriptor fontDescriptor = fonts.FirstOrDefault(f => f.Filename == font.Key); if (fontDescriptor == null) { - fonts.AddEmbeddedResourceFont(typeof(AppHostBuilderExtensions).Assembly, font.Key, font.Value); - //fonts.AddFont(font.Key, font.Value); + //fonts.AddEmbeddedResourceFont(typeof(AppHostBuilderExtensions).Assembly, font.Key, font.Value); + fonts.AddFont(font.Key, font.Value); } } }); diff --git a/src/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj b/src/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj index ac80a82f..90eea520 100644 --- a/src/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj +++ b/src/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj @@ -50,18 +50,6 @@ - - - - - - - - - - - -