Hi, This page says VS2013 is supported, but when I try to create an application, I get an error saying that this kind of project (cljproj) is not supported by this version, and telling me that I should use a supported version of VS. Is this meant to work on VS2013?
It's a limitation of express. Visual Studio allows template extensions to be installed, but not tool extensions. I suppose I could attempt to write a dumbed-down version for express if there was a large enough community asking for it. For now, you may want to try a clojure ide for the jvm. http://www.bestinclass.dk/index.clj/2010/03/clojure-ides-the-grand-tour-getting-started.html Tools for the CLR are harder to find, but you could always use the command line. Hopefully there will be more CLR tools in the future.
Hi, I get the below error when I attempt to compile.
Win 7 64, VS2012
Unhandled Exception: System.TypeInitializationException: The type initializer for 'clojure.lang.RT' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Scripting, Version=184.108.40.206, Culture=neutral, PublicKeyToken=7f709c5b713576e1' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
You can download those dlls at https://github.com/downloads/clojure/clojure-clr/lib2.zip You'll want the versions inside the 4.0 folder.
You'll want to put the dlls next to the other vsClojure dlls here:
[username]and [random letters] are machine specific
You may also need to create an environment variable clojure_load_path pointing to this same directory. (Right click my computer/properties/advanced/advanced/environment variables)
This should be fixed in the next version. Try updating to the latest version in visual studio/tools/extensions and it may be resolved automatically.