title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Errors importing dMCScripting.dll into PowerShell script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • quazl
    • Dec 2023
    • 1

    Errors importing dMCScripting.dll into PowerShell script

    I haven't been able to import the dMCScripting.dll into my script yet. I am getting this error:

    Code:
    Bad IL format. The format of the file '\bin\dMCScripting.dll' is invalid.
    I have tried these methods:
    Code:
    Add-Type
    Import Module
    [System.Reflection.Assembly]::LoadFrom("$packagesRoot\bin\dMCScripting.dll")
    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
    Last edited by quazl; December 12, 2023, 04:30 PM.
  • Spoon
    Administrator
    • Apr 2002
    • 44013

    #2
    Re: Errors importing dMCScripting.dll into PowerShell script

    Try the example shell script file to see if working, bin is not a standard install folder.
    Spoon
    www.dbpoweramp.com

    Comment

    Working...

    ]]>