1.5 May CTP, problem serializing List<byte> ?

Hello,

After upgrading to the 1.5 May CTP, data members of type List<byte> seem to mishandled in the Proxy code causing the following four errors in the proxy Serialize method:

Error 60 'System.Collections.Generic.List<byte>' does not contain a definition for 'Length'

Error 61 The best overloaded method match for 'System.IO.BinaryWriter.Write(bool)' has some invalid arguments

Error 62 Argument '1': cannot convert from 'System.Collections.Generic.List<byte>' to 'bool'

Error 63 The best overloaded method match for 'System.IO.BinaryReader.Read(char[], int, int)' has some invalid arguments C:\Microsoft Robotics Studio 1.5 (CTP May 2007)

Error 64 Argument '1': cannot convert from 'System.Collections.Generic.List<byte>' to 'char[]' C:\Microsoft Robotics Studio 1.5 (CTP May 2007)

It seems to be expecting a byte[] instead. I have converted to byte[], which is fine except that when displayed in XML it shows as unicode rather than a list of numbers. No biggie, but it would be nice if List<byte> was supported.

Chris

[1140 byte] By [ChrisKilner] at [2008-2-23]
# 1

Hi, this is a known issue that will be resolved in the next release.

Also see this post.

Thanks

OmidK.Rad at 2007-9-25 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...

Microsoft Robotics Studio

Site Classified