Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将一些 PDF 运行为文本 C# 代码。我引用了 2 个 DLL,当我尝试运行程序时出现此错误:
类型“java.io.File”是在未引用的程序集中定义的。 您必须添加对程序集“IKVM.GNU.Classpath”的引用, 版本=0.20.0.0,文化=中性,PublicKeyToken=13235d27fcbfff58'。
如何添加对此程序集的引用?
您似乎正在使用使用ikvmc编译器从 JAR 文件生成的程序集。您将需要引用作为IKVM项目IKVM.GNU.Classpath一部分的程序集。右键单击然后选择文件。ReferencesAdd Reference...IKVM.GNU.Classpath.dll
IKVM.GNU.Classpath
References
Add Reference...
IKVM.GNU.Classpath.dll