Can't Find System.Windows.Media Namespace

Can't find System.Windows.Media namespace?

The System.Windows.Media.Imaging namespace is part of PresentationCore.dll (if you are using Visual Studio 2008 then the WPF application template will automatically add this reference). Note that this namespace is not a direct wrapping of the WIC library, although a large proportion of the more common uses are still available and it is relatively obvious how these map to the WIC versions. For more information on the classes in this namespace check out

http://msdn2.microsoft.com/en-us/library/system.windows.media.imaging.aspx

I can't find System.Windows.Media namespace

System.Windows.Media is a namespace - most of the types within it are in the assembly PresentationFramework.dll or PresentationCore.dll.

You should look up whichever type you're interested in (via MSDN), and check which assembly it's in. You've got to distinguish between namespaces and assemblies - they're different concepts. You add a reference to an assembly as part of the project configuration, but specify the namespace in your source code (usually via a using directive).

Where do i find System.Windows.Media ? The Media is not exist

You need to add System.Drawing.Imaging to your using statements.

You can usually easily find what you need to include by right clicking on the item in question and choosing "Resolve"

Can't find System.Windows.Media namespace?

The System.Windows.Media.Imaging namespace is part of PresentationCore.dll (if you are using Visual Studio 2008 then the WPF application template will automatically add this reference). Note that this namespace is not a direct wrapping of the WIC library, although a large proportion of the more common uses are still available and it is relatively obvious how these map to the WIC versions. For more information on the classes in this namespace check out

http://msdn2.microsoft.com/en-us/library/system.windows.media.imaging.aspx



Related Topics



Leave a reply



Submit