The DSL projects created by the DSL package wizard are configured to target AnyCPU .However, if you write a command line tool that references the generated DSL library, you should set up your project to target x86 even if you are working on a 64-bit machine.