add-type not working anymore with netstandard libraries RRS feed

  • Question

  • Hi *

    when I needed an external dll in one of my powershell scripts I always used add-type to load that and I could use the types in that dll.

    Now, one of these dll got an update and the developer changed framework to netstandard. when I want to add-type I get an error that it cannot load the assembly. afaik, the reason is that the dll does not contain the required information, but how am i supposed to use external dll with netstandard?


    • Moved by Bill_Stewart Wednesday, September 5, 2018 10:00 PM Unanswerable drive-by question
    Tuesday, July 3, 2018 7:57 AM

All replies

  • Contact the author of the DLL.  It appears to be created in the wrong format.


    Tuesday, July 3, 2018 8:07 AM