From a013c771bc4c29c96ecdcd5abc661cffde765dea Mon Sep 17 00:00:00 2001 From: Lachlan Leone Date: Wed, 23 Nov 2022 13:21:40 +1100 Subject: [PATCH] Converting to VS --- MMOKitchen.sln | 33 ++--- MMOKitchen/MMOKitchen.csproj | 182 +++++++++++++++----------- MMOKitchen/Mod.cs | 29 +--- MMOKitchen/Properties/AssemblyInfo.cs | 36 +++++ 4 files changed, 162 insertions(+), 118 deletions(-) create mode 100644 MMOKitchen/Properties/AssemblyInfo.cs diff --git a/MMOKitchen.sln b/MMOKitchen.sln index 9347dc0..f0eaecc 100644 --- a/MMOKitchen.sln +++ b/MMOKitchen.sln @@ -1,30 +1,31 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30114.105 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32811.315 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MMOKitchen", "MMOKitchen\MMOKitchen.csproj", "{03768998-4709-4988-B37F-ECC5D44DF280}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MMOKitchen", "MMOKitchen\MMOKitchen.csproj", "{C98403A1-AA47-4987-94FE-C1CEF2E5CC85}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU BepInEx|Any CPU = BepInEx|Any CPU + Debug|Any CPU = Debug|Any CPU MelonLoader|Any CPU = MelonLoader|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85}.BepInEx|Any CPU.ActiveCfg = BepInEx|Any CPU + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85}.BepInEx|Any CPU.Build.0 = BepInEx|Any CPU + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85}.MelonLoader|Any CPU.ActiveCfg = MelonLoader|Any CPU + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85}.MelonLoader|Any CPU.Build.0 = MelonLoader|Any CPU + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {03768998-4709-4988-B37F-ECC5D44DF280}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {03768998-4709-4988-B37F-ECC5D44DF280}.Debug|Any CPU.Build.0 = Debug|Any CPU - {03768998-4709-4988-B37F-ECC5D44DF280}.Release|Any CPU.ActiveCfg = Release|Any CPU - {03768998-4709-4988-B37F-ECC5D44DF280}.Release|Any CPU.Build.0 = Release|Any CPU - - - {03768998-4709-4988-B37F-ECC5D44DF280}.BepInEx|Any CPU.ActiveCfg = BepInEx|Any CPU - {03768998-4709-4988-B37F-ECC5D44DF280}.BepInEx|Any CPU.Build.0 = BepInEx|Any CPU - {03768998-4709-4988-B37F-ECC5D44DF280}.MelonLoader|Any CPU.ActiveCfg = MelonLoader|Any CPU - {03768998-4709-4988-B37F-ECC5D44DF280}.MelonLoader|Any CPU.Build.0 = MelonLoader|Any CPU + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8C16E17F-BB46-4E9D-8899-92D742896BFB} EndGlobalSection EndGlobal diff --git a/MMOKitchen/MMOKitchen.csproj b/MMOKitchen/MMOKitchen.csproj index 0b29987..0d07bc9 100644 --- a/MMOKitchen/MMOKitchen.csproj +++ b/MMOKitchen/MMOKitchen.csproj @@ -1,97 +1,121 @@ - - + + + + + Debug + AnyCPU + {C98403A1-AA47-4987-94FE-C1CEF2E5CC85} + Library + Properties + MMOKitchen + MMOKitchen + v4.7.1 + 512 + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + - net4.7.1 - MelonLoader + true bin\MelonLoader\ + TRACE;DEBUG;MELONLOADER + full + AnyCPU + 7.3 + prompt - - net4.7.1 - BepInEx + true bin\BepInEx\ + TRACE;DEBUG;BEPINEX + full + AnyCPU + 7.3 + prompt - - - ..\..\..\..\Libraries - - - - /Users/lachlanleone/Desktop/PlateUp - - - $(PlateUpGameFolder)\MelonLoader\0Harmony.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Kitchen.RestaurantMode.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\KitchenMode.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Discord.dll - - - $(PlateUpGameFolder)\MelonLoader\MelonLoader.dll + ..\..\..\..\Libraries\BepInEx\core\0Harmony.dll - $(PlateUpGameFolder)\BepInEx\core\BepInEx.dll + ..\..\..\..\Libraries\BepInEx\core\BepInEx.dll - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Kitchen.Common.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Kitchen.Networking.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Kitchen.GameData.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Sirenix.Serialization.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Kitchen.FranchiseMode.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Kitchen.Layouts.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\Unity.Entities.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\UnityEngine.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\UnityEngine.PhysicsModule.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\UnityEngine.AssetBundleModule.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\UnityEngine.CoreModule.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\UnityEngine.InputLegacyModule.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\UnityEngine.ImageConversionModule.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\UnityEngine.InputModule.dll - - - $(PlateUpGameFolder)\PlateUp_Data\Managed\UnityEngine.AudioModule.dll + + ..\..\..\..\Libraries\PlateUp_Data\Managed\Discord.dll - $(PlateUpGameFolder)\PlateUp_Data\Managed\Facepunch.Steamworks.Win64.dll + ..\..\..\..\Libraries\PlateUp_Data\Managed\Facepunch.Steamworks.Win64.dll + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.Common.dll + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.FranchiseMode.dll + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.GameData.dll + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.Layouts.dll + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.Networking.dll - $(PlateUpGameFolder)\Mods\KitchenLib-MelonLoader.dll + ..\..\..\..\Libraries\Mods\KitchenLib.dll - - $(PlateUpGameFolder)\BepInEx\plugins\KitchenLib-BepInEx.dll + + ..\..\..\..\Libraries\PlateUp_Data\Managed\KitchenMode.dll + + + ..\..\..\..\Libraries\MelonLoader\MelonLoader.dll + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\Sirenix.Serialization.dll + + + + + + + + + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\Unity.Entities.dll + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\UnityEngine.dll + + + ..\..\..\..\Libraries\PlateUp_Data\Managed\UnityEngine.CoreModule.dll - + + + + + + + + + + + + + \ No newline at end of file diff --git a/MMOKitchen/Mod.cs b/MMOKitchen/Mod.cs index 22463a4..af35a54 100644 --- a/MMOKitchen/Mod.cs +++ b/MMOKitchen/Mod.cs @@ -1,29 +1,12 @@ using KitchenLib; using System.Reflection; -#if BepInEx using BepInEx; -#endif -#if MelonLoader -using MelonLoader; -#endif - -#if MelonLoader -[assembly: MelonInfo(typeof(MMOKitchen.Mod), "MMO Kitchen", "0.1.3", "StarFluxGames")] -[assembly: MelonGame("It's Happening", "PlateUp")] -#endif namespace MMOKitchen -{ - #if BepInEx - [BepInProcess("PlateUp.exe")] +{ + [BepInProcess("PlateUp.exe")] [BepInPlugin("starfluxgames.mmokitchen", "MMO Kitchen", "0.1.3")] - #endif - public class Mod : BaseMod - { - #if MelonLoader - public Mod() : base("mmokitchen", "1.1.0") { } - #endif - #if BepInEx - public Mod() : base("1.1.0", Assembly.GetExecutingAssembly()) {} - #endif - } + public class Mod : BaseMod + { + public Mod() : base("1.1.0", Assembly.GetExecutingAssembly()) { } + } } \ No newline at end of file diff --git a/MMOKitchen/Properties/AssemblyInfo.cs b/MMOKitchen/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b322649 --- /dev/null +++ b/MMOKitchen/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +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("MMOKitchen")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MMOKitchen")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[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("c98403a1-aa47-4987-94fe-c1cef2e5cc85")] + +// 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")]