When importing this module in PowerShell core (have tried 6.2 and 7.0-preview.3) I get the error:
Import-Module : Assembly with same name is already loaded
At C:\Users\psadm\Documents\PowerShell\Modules\PSStringTemplate\0.2.0\PSStringTemplate.psm1:4 char:5
-
Import-Module $PSScriptRoot/bin/Core/PSStringTemplate.dll
It seems it is this PR which has caused the issue as dlls in FileList in the module manifest are getting loaded before the psm1 is run. There is also a similar issue in the PowerShell repo
When importing this module in PowerShell core (have tried 6.2 and 7.0-preview.3) I get the error:
Import-Module : Assembly with same name is already loaded
At C:\Users\psadm\Documents\PowerShell\Modules\PSStringTemplate\0.2.0\PSStringTemplate.psm1:4 char:5
It seems it is this PR which has caused the issue as dlls in FileList in the module manifest are getting loaded before the psm1 is run. There is also a similar issue in the PowerShell repo