我有一個Web服務,當我嘗試生成它的對象時,我得到下面的錯誤。cs0030:無法生成臨時類
「無法生成臨時類(結果= 1).error CS0030:無法轉換類型 'ShortSell.ShortSellRQOriginDestinationInformationFlightSegment []' 到 'ShortSell.ShortSellRQOriginDestinationInformationFlightSegment'error CS0030:無法轉換類型' ShortSell.ShortSellRSOriginDestinationOptionFlightSegment [] 「到」 ShortSell.ShortSellRSOriginDestinationOptionFlightSegment'error CS0030:無法將類型‘ShortSell.ShortSellRQOriginDestinationInformationFlightSegment []’到「ShortSell.ShortSellRQOriginDestinationInformationFlightSegment'error CS0029:無法隱式轉換類型‘ShortSell.ShortSellRQOriginDestinationInformationFlightSegment’到‘ShortSell.ShortSellRQOriginDestinationInformationFlightSegment []’錯誤CS0029:不能隱式轉換類型'ShortSell.ShortSellRSOriginDestinationOptionFlightSeg包換」到‘ShortSell.ShortSellRSOriginDestinationOptionFlightSegment []’錯誤CS0029:無法隱式轉換類型‘ShortSell.ShortSellRSOriginDestinationOptionFlightSegment’到‘ShortSell.ShortSellRSOriginDestinationOptionFlightSegment []’「}
我試圖改變的臨時文件夾的屬性爲可寫,但我仍然得到這個錯誤。爲什麼我得到這個錯誤,我該如何解決它?
以下線程似乎涵蓋了這個確切的問題。也許那裏發佈的解決方案也適用於你的情況? http://forums.asp.net/t/1469891.aspx/1 – Heinzi
是的,Heinzi似乎相同,但任何suggetions我應該做什麼,因爲我無法找到任何解決方案? – Reaves
讀取「*這個解決方案的部分是如何運行wsdl映射文件並全部從[] [] ---> [] *」更改? – Heinzi