Python for .NET “unable to find assembly” error

前端 未结 6 1756
情书的邮戳
情书的邮戳 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:17

    Try this (without extension .dll):

    clr.AddReference(r"C:\pyfornet_test\DotNet4Class")
    

提交回复
热议问题