From a4e45c36aa458a0b601fdc533c5a406cb778dfff Mon Sep 17 00:00:00 2001 From: Alphaeus Mote Date: Mon, 28 Apr 2025 20:27:44 -0400 Subject: [PATCH] Fix module loading by using NestedModules instead of AssembliesToProcess --- Module/PSProxmox.psd1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Module/PSProxmox.psd1 b/Module/PSProxmox.psd1 index 5efd263..290b453 100644 --- a/Module/PSProxmox.psd1 +++ b/Module/PSProxmox.psd1 @@ -1,6 +1,7 @@ @{ RootModule = 'PSProxmox.psm1' - ModuleVersion = '2025.04.28.2022' + NestedModules = @('bin\PSProxmox.dll') + ModuleVersion = '2025.04.28.2025' GUID = 'd24f0894-3d0c-4ef1-a41e-b273c3db86ad' Author = 'PSProxmox Team' CompanyName = 'PSProxmox' @@ -10,9 +11,7 @@ DotNetFrameworkVersion = '4.7.2' CompatiblePSEditions = @('Desktop', 'Core') # Assemblies that must be loaded prior to importing this module - RequiredAssemblies = @('bin\Newtonsoft.Json.dll') - # Assemblies to process when importing this module - AssembliesToProcess = @('bin\PSProxmox.dll') + RequiredAssemblies = @('bin\PSProxmox.dll', 'bin\Newtonsoft.Json.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 @@ -95,3 +94,4 @@ +