diff --git a/UI/XamlBrewerUnoApp/XamlBrewerUnoApp/XamlBrewerUnoApp/Shell.xaml.cs b/UI/XamlBrewerUnoApp/XamlBrewerUnoApp/XamlBrewerUnoApp/Shell.xaml.cs index 1c8edb684..e411f8e67 100644 --- a/UI/XamlBrewerUnoApp/XamlBrewerUnoApp/XamlBrewerUnoApp/Shell.xaml.cs +++ b/UI/XamlBrewerUnoApp/XamlBrewerUnoApp/XamlBrewerUnoApp/Shell.xaml.cs @@ -39,6 +39,7 @@ private void ApplyTheme() root.RequestedTheme = settings.IsLightTheme ? ElementTheme.Light : ElementTheme.Dark; }; } + private void Root_ActualThemeChanged(FrameworkElement sender, object args) { // Theme change refinements (e.g. content dialogs and title bar). diff --git a/build-samples.yml b/build-samples.yml index ed53a1faa..669576dcb 100644 --- a/build-samples.yml +++ b/build-samples.yml @@ -23,7 +23,7 @@ steps: Set-PSDebug -Trace 1 Write-Host "${{ parameters.path }}" - & $env:msbuildpath "${{ parameters.path }}" /r /p:Configuration=Release /p:WasmShellMonoRuntimeExecutionMode=Interpreter /p:PublishTrimmed=false /p:WasmShellILLinkerEnabled=false /p:RunAOTCompilation=false /p:MtouchUseLlvm=false /ds "/bl:$(build.artifactstagingdirectory)\$(Agent.JobName).binlog" ; + & $env:msbuildpath "${{ parameters.path }}" /r /p:Configuration=Release /p:WasmShellMonoRuntimeExecutionMode=Interpreter /p:PublishTrimmed=true /p:WasmShellILLinkerEnabled=false /p:RunAOTCompilation=false /p:MtouchUseLlvm=false /ds "/bl:$(build.artifactstagingdirectory)\$(Agent.JobName).binlog" ; $folderPath = [System.IO.Path]::GetDirectoryName("${{ parameters.path }}"); @@ -49,4 +49,4 @@ steps: inputs: PathtoPublish: $(build.artifactstagingdirectory) ArtifactName: samples - ArtifactType: Container \ No newline at end of file + ArtifactType: Container