开发者

XML Serialization without csc.exe

开发者 https://www.devze.com 2023-03-09 20:47 出处:网络
I am running into a problem with some .net c开发者_如何学编程ontrols that I created and which I want to use in Internet explorer while Protected Mode is enabled.

I am running into a problem with some .net c开发者_如何学编程ontrols that I created and which I want to use in Internet explorer while Protected Mode is enabled. I get all kind of security prompts which relate to csc.exe trying to dynamically generate the serialized types. Anyway my question is is there a .NET library out there that would allow me to serialize objects without triggering this csc.exe executable ?

Thank you


You can try using the sgen (XML Serializer Generator) tool. That will precompile the assemblies so that they don't need to be generated at runtime.

0

精彩评论

暂无评论...
验证码 换一张
取 消