Wiki

Changes between Version 2 and Version 3 of Troubleshooting

Show
Ignore:
Timestamp:
05/05/10 10:57:39 (15 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Troubleshooting

    v2 v3  
    2929}}} 
    3030 
     31 
    3132=== 64-bit vs. 32-bit Clash === 
    3233 
     
    4445Also note that you can "cd C:\Windows\Microsoft.NET\Framework64\v2.0.50727" and then enter "ldr64 setwow" to force .NET programs to run as 32-bit. You can enter "ldr64 set64" to switch back. 
    4546 
     47 
     48=== System.IO.!FileNotFoundException: Could not load file or assembly 'Cobra.Lang ... === 
     49 
     50When you run Cobra like so: 
     51{{{ 
     52\PATH\TO\Cobra-VERSION\Source\Snapshot> cobra "\PATH\TO\my-first-program.cobra" 
     53}}} 
     54You get: 
     55{{{ 
     56Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Cobra.Lang ... 
     57}}} 
     58You 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}}}