Quote Originally Posted by ThermoSight View Post
1. If it isn't already on your screen, bring up the Solution Explorer
2. Click on the plus sign adjacent to the 'references' folder - probably just above the list of source files in your Solution Explorer
3. Look for "System.Xml" in the list of references. If it's absent then you'll probably need to add it ....
3.a. RIGHT-click on the "references" folder and click on "Add Reference"
3.b. After a brief period, a list of references will appear. Look for "System.Xml" in that list and double click on it.
I think Dariush wants to do that programmatically. I think the code is generated by an executing program.