This is specific to protobuf-net; the inclusion of System.Xml is basically
linked to the PLAT_XMLSERIALIZER build symbol, which for the Full/Unity
configuration is currently:

    <DefineConstants>TRACE;FEAT_COMPILER PLAT_BINARYFORMATTER
PLAT_XMLSERIALIZER PLAT_NO_INTERLOCKED FEAT_SAFE</DefineConstants>

You could try building locally, removing that symbol - this *essentially*
just provides a couple of xml-focused overloads, but if you aren't using
those you should be fine. Of course, if you aren't using those, you also
might be able to tell unity to just ignore that reference.

Marc


On 25 January 2014 13:45, Александр Рязанов <[email protected]>wrote:

> Hi!
>
> I working on web-app (game) with Unity3d. I download last version
> protobuf-net.dll (Full -> Unity) and copy '.dll' in Plugins folder. After
> build my app, build size very increased.
> Looks like that protobuf-net.dll use System.Xml.dll (see attach). For web
> application is not very good. Can I somehow get rid of this dependency?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,

Marc

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to