?
Solved

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

Posted on 2011-09-02
1
Medium Priority
?
309 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

777 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