System.InvalidOperationException: Unable to generate a temporary class (result=1)

后端 未结 11 1848
攒了一身酷
攒了一身酷 2020-12-23 13:19

I have developed an application using .net 3.5 and have deployed it as an .exe on a number of machines with the same environment. However, on one particular machine I get th

11条回答
  •  悲哀的现实
    2020-12-23 13:44

    I just spent a lot of time searching for the answer to this so I thought I'd add it here to save some headache for others. If you use the xsd.exe tool to generate your cs it may have added double arrays [][] where an array should be []. Replace all [][] with [] in your generated cs file and retry.

提交回复
热议问题