Add lib directory and update module manifest to reference it

This commit is contained in:
Alphaeus Mote
2025-05-09 17:12:19 -04:00
parent 50c5be0f95
commit 64c49b462d
3 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -9,6 +9,10 @@ obj/
*.userosscache *.userosscache
*.sln.docstates *.sln.docstates
# Exception for Module lib directory
!Module/lib/
!Module/lib/**/*.dll
# Visual Studio files # Visual Studio files
.vs/ .vs/
*.nupkg *.nupkg
@@ -46,9 +50,10 @@ PSProxmox/[Oo]bj/
*.tar.gz *.tar.gz
*.tgz *.tgz
# Module bin folder (except the DLL) # Module bin folder (except the DLL and Newtonsoft.Json.dll)
Module/bin/* Module/bin/*
!Module/bin/PSProxmox.dll !Module/bin/PSProxmox.dll
!Module/bin/Newtonsoft.Json.dll
# PowerShell module artifacts # PowerShell module artifacts
*.psm1 *.psm1
+1 -1
View File
@@ -9,7 +9,7 @@
DotNetFrameworkVersion = '4.7.2' DotNetFrameworkVersion = '4.7.2'
CompatiblePSEditions = @('Desktop', 'Core') CompatiblePSEditions = @('Desktop', 'Core')
# Assemblies that must be loaded prior to importing this module # Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @('bin\PSProxmox.dll', 'bin\Newtonsoft.Json.dll') RequiredAssemblies = @('bin\PSProxmox.dll', 'lib\Newtonsoft.Json.dll')
# Root module # Root module
RootModule = 'bin\PSProxmox.dll' RootModule = 'bin\PSProxmox.dll'
# Script files (.ps1) that are run in the caller's environment prior to importing this module # Script files (.ps1) that are run in the caller's environment prior to importing this module
Binary file not shown.