1

I am trying to run some PDF to text C# code. I have references to 2 DLLs and I get this error when I try to run the program:

 the type 'java.io.File' is defined in an assembly that is not referenced. You must add a reference to assembly 'IKVM.GNU.Classpath, Version=0.20.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58'. 

How do I add a reference to this assembly?

4
  • I am presuming that you are using Mono - I have re-tagged. Commented Jun 6, 2010 at 11:34
  • It's the use of IKVM that leads me to that assumption. Commented Jun 6, 2010 at 11:40
  • An update from Gold would obviously clear this up. Commented Jun 6, 2010 at 11:42
  • I didn't see the whole error message... on my screen the important bit scrolls off the end. I have edited the question so that people like me that have small screens can also read it. :) Commented Jun 6, 2010 at 11:45

1 Answer 1

5

It seems that you are using an assembly that has been generated from a JAR file using the ikvmc compiler. You will need to reference the IKVM.GNU.Classpath assembly which is part of the IKVM project. Right click on References and then Add Reference... and pick the IKVM.GNU.Classpath.dll file.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.