标签:
真是怪事,引用到.Net2013的时候出错了,好像其他版本没有这个问题,也不知道是不是这样。
SalesForce C# Integration ListViewRecordColumn Error
If you are trying to integrate SalesForce enterprise service with your c# application, and getting the arrow below, you are at right place.
{“Unable to generate a temporary class (result=1).\r\nerror CS0030: Cannot convert type ‘SalesForceEnterpriseService.ListViewRecordColumn[]’ to ‘SalesForceEnterpriseService.ListViewRecordColumn’\r\nerror CS0030: Cannot convert type ‘SalesForceEnterpriseService.ListViewRecordColumn[]’ to ‘SalesForceEnterpriseService.ListViewRecordColumn’\r\nerror CS0029: Cannot implicitly convert type ‘SalesForceEnterpriseService.ListViewRecordColumn’ to ‘SalesForceEnterpriseService.ListViewRecordColumn[]’\r\nerror CS0029: Cannot implicitly convert type ‘SalesForceEnterpriseService.ListViewRecordColumn’ to ‘SalesForceEnterpriseService.ListViewRecordColumn[]’\r\n”}
It’s a simple workaround here:
Just replace the lines in file “Reference.cs ”
private ListViewRecordColumn[][] recordsField;
replace it with:
private ListViewRecordColumn[] recordsField;
标签:
原文地址:http://www.cnblogs.com/dog2k/p/4681876.html