From 3d2917ca9400f02ce8dfb546221517c0dd5ae1f4 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 15 Mar 2024 18:48:54 -0400 Subject: [PATCH] Troubleshooting release issue --- AutoLikerCefSharpWpf/App.config | 10 ++--- AutoLikerCefSharpWpf/App.xaml | 9 +++- AutoLikerCefSharpWpf/App.xaml.cs | 2 +- .../AutoLikerCefSharpWpf.csproj | 36 ++++++++++++++- AutoLikerCefSharpWpf/MainWindow.xaml | 10 ++--- .../Properties/Resources.Designer.cs | 44 ++++++++----------- AutoLikerCefSharpWpf/packages.config | 1 + 7 files changed, 71 insertions(+), 41 deletions(-) diff --git a/AutoLikerCefSharpWpf/App.config b/AutoLikerCefSharpWpf/App.config index 1c19c3f..d3481d4 100644 --- a/AutoLikerCefSharpWpf/App.config +++ b/AutoLikerCefSharpWpf/App.config @@ -1,12 +1,12 @@ - + - -
+ +
- + @@ -39,4 +39,4 @@ - \ No newline at end of file + diff --git a/AutoLikerCefSharpWpf/App.xaml b/AutoLikerCefSharpWpf/App.xaml index 594e22d..4c57c16 100644 --- a/AutoLikerCefSharpWpf/App.xaml +++ b/AutoLikerCefSharpWpf/App.xaml @@ -10,7 +10,14 @@ - + + + + + diff --git a/AutoLikerCefSharpWpf/App.xaml.cs b/AutoLikerCefSharpWpf/App.xaml.cs index 7160fc1..b570d8d 100644 --- a/AutoLikerCefSharpWpf/App.xaml.cs +++ b/AutoLikerCefSharpWpf/App.xaml.cs @@ -17,7 +17,7 @@ namespace AutoLikerCefSharpWpf var settings = new CefSettings() { //By default CefSharp will use an in-memory cache, you need to specify a Cache Folder to persist data - CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache") + CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "AutoLikerCefSharp\\Cache") }; //Example of setting a command line argument diff --git a/AutoLikerCefSharpWpf/AutoLikerCefSharpWpf.csproj b/AutoLikerCefSharpWpf/AutoLikerCefSharpWpf.csproj index 3246a43..6413985 100644 --- a/AutoLikerCefSharpWpf/AutoLikerCefSharpWpf.csproj +++ b/AutoLikerCefSharpWpf/AutoLikerCefSharpWpf.csproj @@ -13,7 +13,7 @@ WinExe AutoLikerCefSharpWpf AutoLikerCefSharpWpf - v4.7.2 + v4.8 512 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 4 @@ -21,6 +21,22 @@ true + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true AnyCPU @@ -84,6 +100,9 @@ Resources\autoliker-512.ico + + AutoLikerCefSharpWpf.App + ..\packages\CefSharp.Common.122.1.120\lib\net462\CefSharp.dll @@ -103,6 +122,9 @@ ..\packages\Microsoft.Xaml.Behaviors.Wpf.1.1.77\lib\net462\Microsoft.Xaml.Behaviors.dll + + ..\packages\ShowMeTheXAML.2.0.0\lib\net472\ShowMeTheXAML.dll + @@ -194,6 +216,18 @@ + + + False + Microsoft .NET Framework 4.8 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + diff --git a/AutoLikerCefSharpWpf/MainWindow.xaml b/AutoLikerCefSharpWpf/MainWindow.xaml index f6f5cd5..e1b5e5d 100644 --- a/AutoLikerCefSharpWpf/MainWindow.xaml +++ b/AutoLikerCefSharpWpf/MainWindow.xaml @@ -2,8 +2,8 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" - TextElement.Foreground="{DynamicResource MaterialDesignBody}" - Background="{DynamicResource MaterialDesignPaper}" + TextElement.Foreground="{DynamicResource MaterialDesignDarkForeground}" + Background="{DynamicResource MaterialDesignDarkBackground}" TextElement.FontWeight="Medium" TextElement.FontSize="12" FontFamily="{materialDesign:MaterialDesignFont}" @@ -120,11 +120,7 @@ - - - - + Address="https://www.google.com" /> //------------------------------------------------------------------------------ -namespace AutoLikerCefSharpWpf.Properties -{ - - +namespace AutoLikerCefSharpWpf.Properties { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -19,51 +19,43 @@ namespace AutoLikerCefSharpWpf.Properties // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AutoLikerCefSharpWpf.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/AutoLikerCefSharpWpf/packages.config b/AutoLikerCefSharpWpf/packages.config index 92fba6e..552b8ea 100644 --- a/AutoLikerCefSharpWpf/packages.config +++ b/AutoLikerCefSharpWpf/packages.config @@ -9,4 +9,5 @@ + \ No newline at end of file