Fix module loading by using PSM1 file and AssembliesToProcess

This commit is contained in:
Alphaeus Mote
2025-04-28 20:23:16 -04:00
parent 771c399d45
commit 16051f5fbd
3 changed files with 8 additions and 3 deletions
+6 -3
View File
@@ -1,6 +1,6 @@
@{
RootModule = 'PSProxmox.dll'
ModuleVersion = '2025.04.28.2015'
RootModule = 'PSProxmox.psm1'
ModuleVersion = '2025.04.28.2022'
GUID = 'd24f0894-3d0c-4ef1-a41e-b273c3db86ad'
Author = 'PSProxmox Team'
CompanyName = 'PSProxmox'
@@ -10,7 +10,9 @@
DotNetFrameworkVersion = '4.7.2'
CompatiblePSEditions = @('Desktop', 'Core')
# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @('bin\PSProxmox.dll', 'bin\Newtonsoft.Json.dll')
RequiredAssemblies = @('bin\Newtonsoft.Json.dll')
# Assemblies to process when importing this module
AssembliesToProcess = @('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
@@ -92,3 +94,4 @@