After upgrade to VC++ 2010, Warning C4564 is raised (method defines unsupported default parameter) when building a C++/CLI project that consumes a strong-typed dataset from a C# project.
ReadersManager.cpp(311): warning C4564: method 'SetNewRecord' of class 'System::Data::DataTable' defines unsupported default parameter 'action'
3> Specify value '2' explicitly when calling the method
3> This diagnostic occurred while importing type 'System::Data::DataTable ' from assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
3> This diagnostic occurred while importing type 'System::Data::TypedTableBase ' from assembly 'System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
3> This diagnostic occurred while importing type 'MyProductDataStoreCLR::ReadersDataSet::ReadersDataTable ' from assembly 'MyProductDataStoreCLR, Version=4.5.0.9, Culture=neutral, PublicKeyToken=null'.
The warning is being raised on a call to System::Data::DataTable::Select, so there is nothing I can change in the calling code relevant to SetNewRecord.
Is this an issue of C++/CLI not supporting the new C# optional parameters capability?