| 47 | |
| 48 | === System.IO.!FileNotFoundException: Could not load file or assembly 'Cobra.Lang ... === |
| 49 | |
| 50 | When you run Cobra like so: |
| 51 | {{{ |
| 52 | \PATH\TO\Cobra-VERSION\Source\Snapshot> cobra "\PATH\TO\my-first-program.cobra" |
| 53 | }}} |
| 54 | You get: |
| 55 | {{{ |
| 56 | Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Cobra.Lang ... |
| 57 | }}} |
| 58 | You haven't installed Cobra. The "Snapshot" directory in only suitable for compiling the compiler and isn't otherwise directly used. Run "install-from-workspace" from the "Source" parent directory. After that, you can be in any directory, and typically will not be in the Cobra directories unless you are hacking on the compiler or in the "HowTo" or "Samples" (or maybe "Tests"). |
| 59 | {{{ |
| 60 | \PATH\TO\Cobra-VERSION\Source> install-from-workspace |
| 61 | }}} |