Unable to generate a temporary class (result=1). error CS0030: Cannot convert type 'Type[]' to 'Type'?

前端 未结 7 1552
无人共我
无人共我 2020-12-04 23:16

I get this error after I created a class from my xsd file using the xsd.exe tool. So I searched the net and found a solution. Here is the link: http://satov.blogspot.com/200

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 00:11

    Had the same problem, but Xsd2Code didn't integrate with VS2012. So instead I went to my xsd.exe generated .cs file and did:

    Find [][] Replace []

    which worked.

提交回复
热议问题