From 8697a466c0cf318b259278ad33605b12b469e796 Mon Sep 17 00:00:00 2001 From: Alphaeus Mote Date: Mon, 28 Apr 2025 14:47:19 -0400 Subject: [PATCH] Remove PSM1 file and update module structure to load DLL from bin directory --- PSProxmox.Main.csproj | 1 - PSProxmox.psd1 | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/PSProxmox.Main.csproj b/PSProxmox.Main.csproj index ceb277b..457542e 100644 --- a/PSProxmox.Main.csproj +++ b/PSProxmox.Main.csproj @@ -93,7 +93,6 @@ - diff --git a/PSProxmox.psd1 b/PSProxmox.psd1 index 080c34d..aab71cd 100644 --- a/PSProxmox.psd1 +++ b/PSProxmox.psd1 @@ -9,6 +9,14 @@ PowerShellVersion = '5.1' DotNetFrameworkVersion = '4.7.2' CompatiblePSEditions = @('Desktop', 'Core') + # Assemblies that must be loaded prior to importing this module + RequiredAssemblies = @('bin\PSProxmox.dll') + # Script files (.ps1) that are run in the caller's environment prior to importing this module + ScriptsToProcess = @() + # Type files (.ps1xml) to be loaded when importing this module + TypesToProcess = @() + # Format files (.ps1xml) to be loaded when importing this module + FormatsToProcess = @() FunctionsToExport = @() CmdletsToExport = @( # Session Management