codingadventures / LINQBridgeVs

Dumps the content of variables during debugging in Visual Studio to LINQPad
MIT License
128 stars 21 forks source link

Add support for SGEN to precompile classes for XmlSerializer #59

Closed codingadventures closed 5 years ago

codingadventures commented 5 years ago

Currently the XmlSerializer used in LINQBridgeVs uses the old .net framework 4 version which tries to compile serialization assemblies on the fly. Add sgen as a build task:

https://mikhail.io/2014/05/21/sgen-to-precompile-classes-for-xmpserializer/

https://www.codeproject.com/Articles/526956/All-about-XmlSerializer-Performance-and-Sgen

codingadventures commented 5 years ago

done this, and didn't bring any benefit. I believe the current .net 4 xml serializer still compiles the serialization dll from scratch.