Question Lost a namespace

Aiken_Bob

Member
Joined
Jun 25, 2010
Messages
11
Programming Experience
Beginner
Somewhere along the line my "System.Windows.Forms.DataVisualization" namespace is no longer recongized. The only thing I can think of is there was a window 10 update. How do I get this re-register or whatever the proper term is.

Many thanks
 
First things first, read the following to get an understanding of what assemblies and namespaces are and how they work:

http://jmcilhinney.blogspot.com.au/2009/12/referencing-assemblies-and-importing.html

Once you understand that, you will know that the first thing to do is to check the References page of the project properties to see whether the appropriate assembly(ies) is referenced and namespace(s) is imported. If not, fix that. I'm guessing that you are trying to use that namespace via a Chart control, so the easiest way to add the appropriate reference may be to drag a Chart control onto a form in the designer. Assuming that that works, you can then just deleted the control and you're good to go. If not, report back and tell us what actually did happen.
 
Back
Top