Why does Visual Studio's "Unused References..." button not flag System.Xml and System.Xml.Linq?

Posted by mcjabberz on Stack Overflow See other posts from Stack Overflow or by mcjabberz
Published on 2011-02-18T23:15:49Z Indexed on 2011/02/18 23:25 UTC
Read the original article Hit count: 194

I was trying to finish up a VB.NET class library project when I tried to remove all unused references. I know for a fact that I'm not explicitly using any thing from the System.Xml and System.Xml.Linq assemblies yet the "Unused References..." button never flags them for removal.

In fact I even tried "Unused References..." on a blank project and it still never flagged them.

The only reason I could think of is that either mscorlib.dll or System.dll is using System.Xml.dll or System.Xml.Linq.dll. Are they safe to remove?

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about visual-studio-2008