小编Rea*_*ves的帖子

cs0030:无法生成临时类

我有一个Web服务,当我尝试生成它的对象时,我遇到了错误.

"无法生成临时类(result = 1).error CS0030:无法将类型'ShortSell.ShortSellRQOriginDestinationInformationFlightSegment []'转换为'ShortSell.ShortSellRQOriginDestinationInformationFlightSegment'error CS0030:无法将类型'ShortSell.ShortSellRSOriginDestinationOptionFlightSegment []'转换为'ShortSell.ShortSellRSOriginDestinationOptionFlightSegment '错误CS0030:无法将类型'ShortSell.ShortSellRQOriginDestinationInformationFlightSegment []'转换为'ShortSell.ShortSellRQOriginDestinationInformationFlightSegment'error CS0029:无法将类型'ShortSell.ShortSellRQOriginDestinationInformationFlightSegment'隐式转换为'ShortSell.ShortSellRQOriginDestinationInformationFlightSegment []'错误CS0029:无法隐式转换类型'ShortSell. ShortSellRSOriginDestinationOptionFlightSegment'to'ShortSell.ShortSellRSOriginDestinationOptionFlightSegment []'error CS0029:无法将类型'ShortSell.ShortSellRSOriginDestinationOptionFlightSegment'隐式转换为' ShortSell.ShortSellRSOriginDestinationOptionFlightSegment []'"}

我尝试将临时文件夹属性更改为可写但我仍然收到此错误.为什么我会收到此错误,如何解决?

c#

12
推荐指数
1
解决办法
7530
查看次数

标签 统计

c# ×1