[MonoDevelop] How do I add an existing form to a project?

Michael Hutchinson m.j.hutchinson at gmail.com
Fri May 28 23:57:18 EDT 2010

On Wed, May 26, 2010 at 11:31 AM, Steve Ricketts <velocedge at hotmail.com> wrote:
> I have a project that was originally created in Visual Studio and I have been
> working on it in MonoDevelop 2.2.2 for a couple of months.  I want to take a
> form  (and code behind) from another project and include it in this project.
> So I've copied the form, its designer code, resources, and resx to my
> project folder and used right-click, Add files to include them.
> However, normally the designer.cs, resources, etc. are indented under the
> form.cs but they are all on the same level when I add them this way.  Am I
> doing this right or is there another way to include a form?

MD does not have any special handling for windows forms or resx
codebehind. However, you can  manually add DependsOn elements to the
csproj file. look at an existing file for examples - it's quite

Michael Hutchinson

More information about the Monodevelop-list mailing list