[MonoDevelop] How to add Form/Resource files to a project in MonoDevelop?

Chen, Feng Feng.Chen at hrblock.com
Wed Feb 9 14:36:44 EST 2011


Thanks for your response.

I did updated MonoDevelop sometime ago. But then I couldn't build my project which uses Monobjc.
So I had to go back to MD 2.2.2.


-----Original Message-----
From: Michael Hutchinson [mailto:m.j.hutchinson at gmail.com] 
Sent: Wednesday, February 09, 2011 1:17 PM
To: Chen, Feng
Cc: monodevelop-list at lists.ximian.com
Subject: Re: [MonoDevelop] How to add Form/Resource files to a project in MonoDevelop?

On Tue, Feb 8, 2011 at 2:41 PM, Chen, Feng <Feng.Chen at hrblock.com> wrote:
> Hi MonoDevelop users,
> I want to add two external files, Form1.cs and Form1.resx, to my project.
> When I use "Add Files" to select those two files, choose the "Link" options, those files are added as two separate files.
> How to make the .resx file "dependupon" the related .cs file so that those two files are displayed as one node?

We don't have any UI for this, though MD will do it automatically for
certain file name patterns. You can add such a relationship for
arbitrary files by manually editing the csproj file.

> I am using MonoDevelop 2.2.2 on Mac 10.6.4.

I assume you mean 2.4.2? If not, you should upgrade :)

Michael Hutchinson

More information about the Monodevelop-list mailing list