I have created the "Hello World" example:
- Code: Select all
class HelloWorld
def main is shared
print "Hello World!"
When I attempt to run it from the command line:
- Code: Select all
cobra test.cobra
I receive the following exception:
- Code: Select all
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass
embly 'Cobra.Lang, Version=0.8.0.1, Culture=neutral, PublicKeyToken=0a4783a5c7c9
616e' or one of its dependencies. The system cannot find the file specified.
File name: 'Cobra.Lang, Version=0.8.0.1, Culture=neutral, PublicKeyToken=0a4783a
5c7c9616e'
at CobraTestLengthUse.LengthUse.Main()
If I run the command
- Code: Select all
cobra -ert:yes test.cobra
then I receive "Hello, World!" as expected.
Is there something I'm doing wrong such that the first execution attempt doesn't work? Do I need to copy Cobra.Lang.dll somewhere else additionally?
Thanks!