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

Stifu stifu at free.fr
Mon Aug 15 04:55:15 EDT 2011


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.

Can anyone give me a hand, and tell me how I should proceed?
Thanks.

--
View this message in context: http://mono.1490590.n4.nabble.com/Fixing-WinForms-csproj-Consts-cs-tp3744183p3744183.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.


More information about the Mono-winforms-list mailing list