Page 1 of 1

Compiling to C# source files

PostPosted: Sat Feb 09, 2013 1:58 pm
by DelphiGuy
running MD 3.0.6 and Win 7:

can cobra generate C# source files from the original cobra source? i have "keep intermediate files" checked in the compiler options, but clearly that doesn't generate comprehensive C# source.

Re: Compiling to C# source files

PostPosted: Sat Feb 09, 2013 2:01 pm
by Charles
I don't understand your post. What do you mean by "doesn't generate comprehensive C# source"? When you use "keep intermediate files" are the foo.cobra.cs files missing for your project, or you wanted them for the std lib too, or you wanted more reader-friendly versions that you could pass to C# coders, or something else?

Re: Compiling to C# source files

PostPosted: Sat Feb 09, 2013 3:27 pm
by DelphiGuy
it's the foo.cobra.cs files for my project that were "missing".

thanks, that was a sufficient hint. i found'em. just brain-dead and looking in the wrong part of the hard drive for an entire hour, with great and unjustified zeal.

what do i want them for? i want to examine (and possibly build in VSVC# 2010 Express) the C# code underlying some of my project's cobra code, to better understand what the cobra compiler is doing.