'Could not load file or assembly Cobra.Lang'
Posted: Sat Oct 23, 2010 6:05 pm
I'm installing my Cobra from the workspace using the "install from workspace" script. I'm on Windows 7, 64 bit edition. I've updated to revision 2446. However, I am not able to execute even the most trivial Cobra program. For example I entered this program into the file Hello.cobra
I attempt to run it using the command: 'cobra Hello.cobra' In response I get
Is there an additional installation step that I should be doing? Note that the command above does generate a Hello.exe. When I run that executable I get the unhandled exception I mentioned above.
class Hello
def main
print 'Hello, World!'
I attempt to run it using the command: 'cobra Hello.cobra' In response I get
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Cobra.Lang, Version=0.8.0.1, Culture=neutral, PublicKeyToken=0a4783a5c7c9616e' or one of its dependencies. The system cannot find the file specified. File name: 'Cobra.Lang, Version=0.8.0.1, Culture=neutral, PublicKeyToken=0a4783a5c7c9616e'
at Hello.Main()
at MainWrapper.Main()
Is there an additional installation step that I should be doing? Note that the command above does generate a Hello.exe. When I run that executable I get the unhandled exception I mentioned above.