Error on import
Closed this issue · 1 comments
vors commented
Just cloned on macOS and copied the first command from the README
PS /Users/vors/dev/polaris> Import-Module –Name .\Polaris.psm1
Add-Type : Cannot bind parameter 'Path' to the target. Exception setting "Path": "Cannot find path
'/Users/vors/dev/polaris/PolarisCore/bin/Debug/netstandard2.0/Polaris.dll' because it does not exist."
At /Users/vors/dev/polaris/Polaris.psm1:1 char:16
+ ... -Type -Path "$PSScriptRoot/PolarisCore/bin/Debug/netstandard2.0/Polar ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Add-Type], ParameterBindingException
+ FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.PowerShell.Commands.AddTypeCommand
Workaround: this works fine
Import-Module –Name ./Polaris.psm1
vors commented
Nevermind, I didn't realise there is a C# part to build before using