I have this method in a class
public static DataTable ConvertCellSetToDataTable(CellSet cellSet)
{
return new DataTable();
}
I have Microsoft.AnalysisServices.AdomdClient
in my packages.config as a nuget package and I DON'T have System.Xml as a project reference.
<package id="Microsoft.AnalysisServices.AdomdClient" version="12.0.2000.8" targetFramework="net452" />
This project fails to compile with Visual Studio 2013 Pro but the same solution file complies in Visual Stuido 2015 Pro on the same machine.
Error message from VS2013 as below:
error CS0012: The type 'System.Xml.Serialization.IXmlSerializable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
I'm OK with this failure but why does it compile with Visual Studio 2015? What's new here?
Gist with all my files here:
https://gist.github.com/atwayne/ad8fdc06ee831626361609cfb5935638