[MonoDevelop] System.ComponentModel.Composition

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Oct 24 17:34:13 EDT 2010


On Sat, Oct 23, 2010 at 9:57 AM, Sergio Estevao <sergioestevao at gmail.com> wrote:
>
> All,
>
> I'm trying to port a project from Microsoft Visual Studio 2010/MS .Net 4.0
> to Mono 4.0/MonoDeveloper and I stumble in the following problem:
>
> The System.ComponentModel.Composition dll isn't found by MonoDeveloper, I
> can see the file in  the Mono gac bu it seems it's isn't recognized by
> MonoDeveloper. However if I do a direct link to the file system the file is
> recognized and everything compiles ok.
>
> Does anybody have some ideas of what's happening?

There are a couple of ways MD discovers dlls to resolve references and
present in the Edit References dialog.

The GAC is never used at compile-time, it's for runtime only. For dlls
that are not part of the framework, MD discovers them via pkg-config
for Mono and AssemblyFolders for .NET (like VS does).

For the dlls that are always included in the framework, MD has a
built-in list. This is also similar to VS's behaviour AFAIK. However,
System.ComponentModel.Composition.dll was missing from MD's 4.0
framework definition. I've fixed this in git master and the 2.4
branch.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list