Unable to load a dll included in the References of a PowerShell Project
Issue #91
new
I am running visual studio 2015 pro, PowerShell Tools for Visual Studio 2015 3.1.618, PowerShell Pro Tools for Visual Studio 2015 1.6.0.
Output from $PSVersionTable is as follows: Name Value
PSVersion 5.1.17763.316 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17763.316 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Running the 4.6.2 developer pack
I have built a project and loaded a DLL into the references. I am unable to get the assembly to load using [System.Reflection.Assembly]::Load
Attached is a shot of the solution explorer.
Am I able to load from the references, or do I need to specify a path directly using the Add-Type command?