Author: Andrew2 | Posted on: 7/12/2010 11:30:02 PM | Views : 1429

I keep trying to add an assembly reference to my website which doesn't show up anywhere in my code.  Specifically, I would like to add a reference to System.Xml.Linq.dll to my website.  No such reference appears in my web.config file.  Also, when I right click on the website in the Solution Explorer window, go to Property Pages, and then click on References in the left-hand column, System.Xml.Linq does not appear. Yet, when I right-click on the website and go to add reference, I ultimately am met with the error:
"The website is already referencing the assembly 'System.Xml.Linq'"
Also, when I put a using statement at the top of one of my classes in my App_Code folder for the System.Xml.Linq namespace, the Visual Studio IDE does not flag it as an error.
Any insight into this strangeness would be very much appreciated.  I'd like to put this into production someday, and I'm worried it might not ...

Go to the complete details ...