[Mono-winforms-list] Fixing WinForms csproj - Consts.cs?

Robert Jordan robertj at gmx.net
Mon Aug 15 04:59:42 EDT 2011


On 15.08.2011 10:55, Stifu wrote:
> Hi guys,
>
> I'm trying to fix some broken csproj files in the Mono sources, and I'm not
> sure how to do it.
> I already did so locally, but the dirty way (referencing DLLs at certain
> locations, or adding extra cs files), and I'm trying to do it cleanly this
> time, so I can push my changes back.
>
> So, some projects reference "Consts.cs", but this reference cannot be found.
> Looking in mono/mcs/build/common, I see that "Consts.cs" is missing, but
> there's "Consts.cs.in" instead. What's the .in for? It prevents me from
> adding a link to this file and getting it recognized as a C# file.
> In my project fixed the "dirty way", I just copied the Consts.cs file to the
> Managed.Windows.Forms folder.

Consts.cs is generated by the build process of the
class libraries. It's created by "make".

Robert



More information about the Mono-winforms-list mailing list