I haven't been able to import the dMCScripting.dll into my script yet. I am getting this error:
I have tried these methods:
I have tried PowerShell 5.1 and 7.2. I am sure it is ignorance that is causing the issue, but I can't seem to figure it out.
Any help would be greatly appreciated,
~Q
Code:
Bad IL format. The format of the file '\bin\dMCScripting.dll' is invalid.
Code:
Add-Type Import Module [System.Reflection.Assembly]::LoadFrom("$packagesRoot\bin\dMCScripting.dll")
Any help would be greatly appreciated,
~Q
Comment