Module in Package
Issue #151
resolved
I am testing the PowerShell Tools in PowerShell Module and VS Code.
The Merge-Script command does not import the modules you want into the package. In the executable, the Import-Module command only works if the module is installed on the computer, but I do not want the modules to be installed, but only accessible on the package. How to import the module directly into the Bundle?
Thx.
Thomas P.
Comments (2)
-
-
- changed status to resolved
- Log in to comment
You need to ensure that you have the Bundle\Modules set to true in the merge config.
https://docs.poshtools.com/powershell-pro-tools-documentation/powershell-module/aboutmergescriptconfig