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

前端 未结 7 1548
无人共我
无人共我 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:06

    For me it helps to patch the XML used to generate the code. It happens when:

    
        
        
    
    

    then this is optimized by xsd to double array name entry

    What I did is:

    
        
        
        
    
    

    the xsd doesn't optimize it but leaves the single array name

提交回复
热议问题