[Moonlight-list] issue while using mono light mscorlib.dll

Amit Jain amitjain.engg at gmail.com
Tue May 22 07:41:28 UTC 2012


I am getting following error message while compiling any C# code with
moonlight mscorlib.dll

In Test code if I am trying to use following way to access the array
uint [] temp = new unit[3] {5, 4, 8};

I am getting following error.

error CS0656: The compiler required member
`System.Runtime.InteropServices.StructLayoutAttribute..ctor(short)

Please suggest why I am getting this error and the solution for this.

--
View this message in context: http://mono.1490590.n4.nabble.com/issue-while-using-mono-light-mscorlib-dll-tp4649489.html
Sent from the Moonlight mailing list archive at Nabble.com.


More information about the Moonlight-list mailing list