Forums

Error compiling 380-WinForms.cobra

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Error compiling 380-WinForms.cobra

Postby poematrix » Tue Jul 21, 2009 7:13 am

Hi.

I get an error compiling 380-WinForms.cobra: "cannot locat namespace System.Windows.Forms". What do I need to do to correct this error?

TIA,
Elan
poematrix
 
Posts: 4

Re: Error compiling 380-WinForms.cobra

Postby Charles » Tue Jul 21, 2009 10:38 am

Does it work if you try this:
Code: Select all
cobra -ref:System.Windows.Forms 380-WinForms.cobra


What version of Cobra? Are you on .NET or Mono? Version? If on Mono, what op sys and version?

It's working on my system out of subversion with .NET on Windows XP SP 2.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Error compiling 380-WinForms.cobra

Postby poematrix » Tue Jul 21, 2009 6:15 pm

Hi Chuck.

Thanks for the prompt reply.

The following code worked: cobra -reference:System.Windows.Forms 380-WinForms.cobra
(It did not work when I used "-ref" instead of "-reference".)

I am running cobra 0.8.0
I am on Windows XP SP3
I assume that it follows that this is Cobra .NET and not Cobra Mono?
poematrix
 
Posts: 4

Re: Error compiling 380-WinForms.cobra

Postby Charles » Tue Jul 21, 2009 11:30 pm

Now that 0.8 is over a year old, I think you should use the 2009-06-09 release with many more fixes, enhancements and battle readiness. Of course, now that 0.8 is over a year old, you probably think I should cut a 0.8.1 release. :-D

Here is a direct link: Cobra-Informal-Release-2009-06-09.zip

I think I'll need to revamp the Downloads page push people in this direction more.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 51 guests