From 30a6e7b6bc4ad978caf0f5976f56dcf86f1140eb Mon Sep 17 00:00:00 2001 From: Pusheon <59923820+Pusheon@users.noreply.github.com> Date: Thu, 29 Sep 2022 17:27:46 -0400 Subject: [PATCH] convert csproj to proper project file --- .../PresenceClient-GUI/FodyWeavers.xml | 3 + .../PresenceClient-GUI/FodyWeavers.xsd | 141 +++++++++++++++++ .../PresenceClient-GUI.csproj | 145 +++--------------- PresenceClient/PresenceClient-GUI/Program.cs | 1 - .../Properties/AssemblyInfo.cs | 35 ----- 5 files changed, 168 insertions(+), 157 deletions(-) create mode 100644 PresenceClient/PresenceClient-GUI/FodyWeavers.xml create mode 100644 PresenceClient/PresenceClient-GUI/FodyWeavers.xsd delete mode 100644 PresenceClient/PresenceClient-GUI/Properties/AssemblyInfo.cs diff --git a/PresenceClient/PresenceClient-GUI/FodyWeavers.xml b/PresenceClient/PresenceClient-GUI/FodyWeavers.xml new file mode 100644 index 0000000..5029e70 --- /dev/null +++ b/PresenceClient/PresenceClient-GUI/FodyWeavers.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/PresenceClient/PresenceClient-GUI/FodyWeavers.xsd b/PresenceClient/PresenceClient-GUI/FodyWeavers.xsd new file mode 100644 index 0000000..05e92c1 --- /dev/null +++ b/PresenceClient/PresenceClient-GUI/FodyWeavers.xsd @@ -0,0 +1,141 @@ + + + + + + + + + + + + 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 runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of runtime 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. + + + + + Controls if runtime assemblies are also embedded. + + + + + Controls whether the runtime assemblies are embedded with their full path or only with their assembly name. + + + + + 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 runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of runtime 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/PresenceClient/PresenceClient-GUI/PresenceClient-GUI.csproj b/PresenceClient/PresenceClient-GUI/PresenceClient-GUI.csproj index 9d2261e..0fbf46c 100644 --- a/PresenceClient/PresenceClient-GUI/PresenceClient-GUI.csproj +++ b/PresenceClient/PresenceClient-GUI/PresenceClient-GUI.csproj @@ -1,137 +1,40 @@ - - - + + - Debug - AnyCPU - {E1E88510-EE21-4E59-A5FD-052063CE7AC3} WinExe + net48 PresenceClient_GUI - PresenceClient-GUI - v4.8 - latestmajor - 512 - false - true - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - Resources\Icon.ico + latestmajor - - - + - - - - - - - - - - - - - Form - - - MainForm.cs - - - - - True - True - Resources.resx - - - - MainForm.cs - - - ResXFileCodeGenerator - Designer - Resources.Designer.cs - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive; compile + + + + + + + - + + + - - {73ead2e4-0f1a-4d06-a84d-13c2ebaa03d8} - PresenceCommon - - - - - False - Microsoft .NET Framework 4.8 %28x86 and x64%29 - true - - - False - .NET Framework 3.5 SP1 - false - - - - - 1.0.175 - - - 13.0.1 - + + ..\..\..\..\..\..\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll + - - \ No newline at end of file + + diff --git a/PresenceClient/PresenceClient-GUI/Program.cs b/PresenceClient/PresenceClient-GUI/Program.cs index 6e68105..c945b36 100644 --- a/PresenceClient/PresenceClient-GUI/Program.cs +++ b/PresenceClient/PresenceClient-GUI/Program.cs @@ -1,6 +1,5 @@ using System; using System.Windows.Forms; - namespace PresenceClient_GUI; internal static class Program diff --git a/PresenceClient/PresenceClient-GUI/Properties/AssemblyInfo.cs b/PresenceClient/PresenceClient-GUI/Properties/AssemblyInfo.cs deleted file mode 100644 index de3bb1b..0000000 --- a/PresenceClient/PresenceClient-GUI/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("PresenceClient")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("PresenceClient")] -[assembly: AssemblyCopyright("Copyright © 2020")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("e1e88510-ee21-4e59-a5fd-052063ce7ac3")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")]