plutoo / protobuf-csharp-port

Automatically exported from code.google.com/p/protobuf-csharp-port
Other
0 stars 0 forks source link

Remove usages of SortedList`2 for SILVERLIGHT2 builds #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Seems our silverlight assembly may be flawed.  After adding a SILVERLIGHT2 
build of Google.ProtocolBuffers.Serialization and depending upon 
Google.ProtocolBuffers an error is raised that says SortedList`2 can not be 
found in system.dll.

Sure enough, SortedList`2 is not supported by SILVERLIGHT2.

Original issue reported on code.google.com by Grig...@gmail.com on 1 Oct 2011 at 3:31

GoogleCodeExporter commented 9 years ago
That's why we've got SortedList.cs in the ProtocolBuffers project. I don't 
think we *expose* SortedList`2 to the outside world in signatures, but it 
should be fine to build the main project.

Original comment by jonathan.skeet on 1 Oct 2011 at 6:20

GoogleCodeExporter commented 9 years ago
Ah, I missed that.  So the *real* problem is that we were not adding this 
source file to the Lite framework project for Silverlight.

Added /src/ProtoBuffers/SortedList.cs to the Google.ProtoBuffersLite.csproj and 
backed out the previous change.

Original comment by Grig...@gmail.com on 1 Oct 2011 at 1:36