?
Solved

Error Attempting to Include Library/Class in C# VS 2008 Team Edition

Posted on 2011-09-02
1
Medium Priority
?
312 Views
Last Modified: 2012-05-12
I am attempting to create a ContextMenuEventArgs variable to pass into an event handler function. When I attempt to include the library "System.Windows.Controls", I end up with the error message "The type or namespace name 'Controls' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)" The code to include the library is:
using System.Windows.Controls;

I am using Visual Studio 2008 Team Edition, and I have verified that the library should have been installed with the .NET 3.0 and higher framework. Could someone help me out with this error, as I do not see anything wrong with the code that would cause this issue? Thank you in advance for your help.
0
Comment
Question by:thenthorn1010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 36474501
Have you added a reference to the PresentationFramework.dll?
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question