[IronPython] Missing Framework Libraries
curt at hagenlocher.org
Mon May 17 06:40:47 PDT 2010
First, some clarification about terminology:
Assemblies are DLLs. The "built-in" ones that come with .NET are typically
stored in a special location known as the "GAC" or "Global Assembly Cache".
As such, you don't need to specify where they are exactly, because that's a
standard place where IronPython or C# knows to look.
System.Windows is a namespace. Any given namespace may have members in
multiple assemblies. In part, that's because there isn't really a namespace
"object" in .NET; it's merely a naming convention for types that we've all
agreed to follow.
So the fundamental unit that you're probably concerned with is a type. Types
are indeed located in assemblies, and you need to reference the appropriate
assembly in order to use the types contained therein. Probably the easiest
way to find which assembly a particular type is located in is to search MSDN
-- both Google and Bing do a good at this. Let's say I want to find which
assembly contains the type FrameworkElement. I simply search for
"FrameworkElement site:microsoft.com" and the first hit will generally be
the one I want. Near the very top of that page, it tells me "Assembly:
PresentationFramework (in PresentationFramework.dll)". So if I want to use
FrameworkElement, that's the assembly I need to reference.
Is this the information you're looking for?
On Mon, May 17, 2010 at 6:31 AM, Funke, Matt <Matt.funke at vishaypg.com>wrote:
> Perhaps more generally, so that I don't keep bothering people with annoying
> questions like these: is there a place where the locations of various
> assemblies is documented, so that if I need a particular assembly I can go
> to the correct library to find it?
> Thank you for your time and patience.
> -- Matt Funke
> > -----Original Message-----
> > From: users-bounces at lists.ironpython.com [mailto:users-
> > bounces at lists.ironpython.com] On Behalf Of Funke, Matt
> > Sent: Monday, May 17, 2010 8:59 AM
> > To: Discussion of IronPython
> > Subject: [IronPython] Missing Framework Libraries
> > Once again, it's a rank newbie question, I'm afraid.
> > I've been trying to duplicate some of Re.Mark's work(*) to get at some
> > Visual Studio functionality. Regrettably, though, my installation of
> > VS 2010 doesn't seem to recognize the System.Windows namespace;
> > moreover, when I try to look for it under Project -> Add Reference...,
> > it doesn't show up (though some of its sub-namespaces do). Can someone
> > point me at a resource to find out where one can go to get missing
> > namespaces, and how to integrate them into VS 2010?
> > Thanks again for any help you can offer.
> > -- Matt Funke
> > (*) Look at this C# sample that he uses as a code base:
> > http://remark.wordpress.com/2009/01/27/an-introduction-to-wpf-with-
> > ironpython/
> > _______________________________________________
> > Users mailing list
> > Users at lists.ironpython.com
> > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> Users mailing list
> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users