Hi there,

I want to use ClojureCLR in a C# project I am working on and need some guidance.

1) How do I correctly add ClojureCLR as a project reference in Visual
Studio (2010)?  I tried adding the Clojure.dll and that allowed my
code to compile fine referencing a Clojure datastructure, but at run
time I then got a TypeInitializationException with inner exception
complaining about not finding clojure/core.clj.dll  - I was able to
work around this by manually copying the clojure binary directory into
my target build location; but obviously that is just a temporary
solution.  I think I could set up a custom build step to copy clojure
from a lib directory into the build target if necessary, is that the
best way?

2) I still cannot instantiate the object:
PersistentTreeMap _entities = new PersistentTreeMap();
Inner exception is: "Ambiguous match found."
However
PersistentList foo = new PersistentList(1);
works just fine, so I'm thinking that the issue how I'm calling it.

Any pointers appreciated!


Regards,
Timothy

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to