Invalid path to YamlDotNet assembly in Initialize-PsYAML_Module
Hello!
I'm using this module for the first time, following the recommend initial load code on your website.
I find that when the module initializes, it's trying to find the YamlDotNet assembly in the wrong path.
VERBOSE: Performing the operation "Set Alias" on target "Name: nuget Value: C:\Users\luke.ryan\Documents\WindowsPowerShell\Modules\PSYaml\nuget.exe". Add-Type : Cannot bind parameter 'Path' to the target. Exception setting "Path": "Cannot find path 'C:\Users\luke.ryan\Documents\WindowsPowerShell\Modules\PSYaml\YAMLDotNet\YamlDotNet.4.2.1\lib\dotnet\yamldotnet.dll' because it does not exist." At C:\Users\luke.ryan\Documents\WindowsPowerShell\Modules\psyaml\PSYaml.psm1:44 char:20
- ... -Type -Path "$YAMLDotNetLocation\YAMLDotNet$CurrentRelease\lib\dotne ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : WriteError: (:) [Add-Type], ParameterBindingException
- FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.PowerShell.Commands.AddTypeCommand
Alternatively limit YamlDotNet to 4.1.0 as in #6. I'm not sure if portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1 is the correct new path.