From eace12294645e704742a407e93fbd825ac4ba99a Mon Sep 17 00:00:00 2001 From: Jakob Date: Fri, 8 Nov 2019 19:30:32 +0100 Subject: [PATCH] Initial commit --- EnvyUpdate.sln | 25 +++ EnvyUpdate/App.config | 6 + EnvyUpdate/App.xaml | 9 + EnvyUpdate/App.xaml.cs | 17 ++ EnvyUpdate/EnvyUpdate.csproj | 141 ++++++++++++ EnvyUpdate/FodyWeavers.xml | 4 + EnvyUpdate/FodyWeavers.xsd | 111 ++++++++++ EnvyUpdate/MainWindow.xaml | 22 ++ EnvyUpdate/MainWindow.xaml.cs | 229 ++++++++++++++++++++ EnvyUpdate/Properties/AssemblyInfo.cs | 55 +++++ EnvyUpdate/Properties/Resources.Designer.cs | 71 ++++++ EnvyUpdate/Properties/Resources.resx | 117 ++++++++++ EnvyUpdate/Properties/Settings.Designer.cs | 30 +++ EnvyUpdate/Properties/Settings.settings | 7 + EnvyUpdate/Util.cs | 90 ++++++++ EnvyUpdate/icon.ico | Bin 0 -> 101917 bytes EnvyUpdate/icon.png | Bin 0 -> 6516 bytes EnvyUpdate/packages.config | 6 + README.md | 13 +- 19 files changed, 952 insertions(+), 1 deletion(-) create mode 100644 EnvyUpdate.sln create mode 100644 EnvyUpdate/App.config create mode 100644 EnvyUpdate/App.xaml create mode 100644 EnvyUpdate/App.xaml.cs create mode 100644 EnvyUpdate/EnvyUpdate.csproj create mode 100644 EnvyUpdate/FodyWeavers.xml create mode 100644 EnvyUpdate/FodyWeavers.xsd create mode 100644 EnvyUpdate/MainWindow.xaml create mode 100644 EnvyUpdate/MainWindow.xaml.cs create mode 100644 EnvyUpdate/Properties/AssemblyInfo.cs create mode 100644 EnvyUpdate/Properties/Resources.Designer.cs create mode 100644 EnvyUpdate/Properties/Resources.resx create mode 100644 EnvyUpdate/Properties/Settings.Designer.cs create mode 100644 EnvyUpdate/Properties/Settings.settings create mode 100644 EnvyUpdate/Util.cs create mode 100644 EnvyUpdate/icon.ico create mode 100644 EnvyUpdate/icon.png create mode 100644 EnvyUpdate/packages.config diff --git a/EnvyUpdate.sln b/EnvyUpdate.sln new file mode 100644 index 0000000..6878393 --- /dev/null +++ b/EnvyUpdate.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29411.108 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EnvyUpdate", "EnvyUpdate\EnvyUpdate.csproj", "{1BF2468D-9579-462D-9153-4836E9C8721F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1BF2468D-9579-462D-9153-4836E9C8721F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1BF2468D-9579-462D-9153-4836E9C8721F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1BF2468D-9579-462D-9153-4836E9C8721F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1BF2468D-9579-462D-9153-4836E9C8721F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {420FF0E8-D617-4002-AE19-8D9C50016CC7} + EndGlobalSection +EndGlobal diff --git a/EnvyUpdate/App.config b/EnvyUpdate/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/EnvyUpdate/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/EnvyUpdate/App.xaml b/EnvyUpdate/App.xaml new file mode 100644 index 0000000..414c0d4 --- /dev/null +++ b/EnvyUpdate/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/EnvyUpdate/App.xaml.cs b/EnvyUpdate/App.xaml.cs new file mode 100644 index 0000000..3e57067 --- /dev/null +++ b/EnvyUpdate/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace EnvyUpdate +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/EnvyUpdate/EnvyUpdate.csproj b/EnvyUpdate/EnvyUpdate.csproj new file mode 100644 index 0000000..4a0ab73 --- /dev/null +++ b/EnvyUpdate/EnvyUpdate.csproj @@ -0,0 +1,141 @@ + + + + + + Debug + AnyCPU + {1BF2468D-9579-462D-9153-4836E9C8721F} + WinExe + EnvyUpdate + EnvyUpdate + v4.7.2 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + true + + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + icon.ico + + + false + + + + ..\packages\Costura.Fody.4.1.0\lib\net40\Costura.dll + + + ..\packages\Hardcodet.NotifyIcon.Wpf.1.0.8\lib\net451\Hardcodet.Wpf.TaskbarNotification.dll + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + {F935DC20-1CF0-11D0-ADB9-00C04FD58A0B} + 1 + 0 + 0 + tlbimp + False + True + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/EnvyUpdate/FodyWeavers.xml b/EnvyUpdate/FodyWeavers.xml new file mode 100644 index 0000000..a5dcf04 --- /dev/null +++ b/EnvyUpdate/FodyWeavers.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/EnvyUpdate/FodyWeavers.xsd b/EnvyUpdate/FodyWeavers.xsd new file mode 100644 index 0000000..44a5374 --- /dev/null +++ b/EnvyUpdate/FodyWeavers.xsd @@ -0,0 +1,111 @@ + + + + + + + + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with line breaks. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with line breaks. + + + + + The order of preloaded assemblies, delimited with line breaks. + + + + + + This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. + + + + + Controls if .pdbs for reference assemblies are also embedded. + + + + + Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. + + + + + As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. + + + + + Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. + + + + + Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with |. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with |. + + + + + The order of preloaded assemblies, delimited with |. + + + + + + + + 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. + + + + + A comma-separated list of error codes that can be safely ignored in assembly verification. + + + + + 'false' to turn off automatic generation of the XML Schema file. + + + + + \ No newline at end of file diff --git a/EnvyUpdate/MainWindow.xaml b/EnvyUpdate/MainWindow.xaml new file mode 100644 index 0000000..4137ab0 --- /dev/null +++ b/EnvyUpdate/MainWindow.xaml @@ -0,0 +1,22 @@ + + + + + +