XML literals and XML axis properties are not available

XML literals and XML axis properties are not available. Add references to System.Xml, System.Xml.Linq, and System.Core.

The code being compiled includes XML literals or XML axis properties, but it does not reference the assemblies that are needed to compile XML literals or XML axis properties.

Error ID: BC31190

To correct this error

  • Add references to the System.Xml.dll, System.Xml.Linq.dll, and System.Core.dll assemblies.

See Also

Other Resources

XML Literals

XML Axis Properties

XML in Visual Basic