Python for .NET “unable to find assembly” error

前端 未结 6 1752
情书的邮戳
情书的邮戳 2020-12-10 11:42

I\'m using CPython and I have a C# dll. I\'m trying to use Python for .NET to make them talk. I can\'t use IronPython because I need to integrate this into an existing CPy

6条回答
  •  离开以前
    2020-12-10 12:02

    One reason can be Windows was not enabling it to load from "external sources". To fix this:

    • Right-click on the .dll
    • "Properties"
    • Under "General", click "Unblock"

提交回复
热议问题