max_rez
❔ Powershell Cmdlet with C# Nuget packages. Can't find the Nuget assemblies when I run the module!
I build the project containing Cmdlets which results in a DLL file in the /bin/debug directory. I then open a powershell prompt and run
Import-Module <dll name>
22 replies
❔ Powershell Cmdlet with C# Nuget packages. Can't find the Nuget assemblies when I run the module!
as a possible clue as to what was happening.. I downloaded the 4.0.4.1 version of that DLL into the build dir and after importing my module in PS, I did
Add-Type
to manually load the older version of the *Unsafe Dll22 replies