UWP 序列化权限受限

 

   在UWP,序列化权限受限

 

   在启动目录中 /Properities/Default.rd.xml  文档中

 

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  <Application>
    <!--
      An Assembly element with Name="*Application*" applies to all assemblies in
      the application package. The asterisks are not wildcards.
    -->
    <Assembly Name="*Application*" Dynamic="Required All"/>

    <!-- Add your application specific runtime directives here. -->
    <Namespace Name="QA.Model" DataContractJsonSerializer="Required All" Browse="Required All" Dynamic="Required All" MarshalObject ="Required All" Serialize="Required All"/>
  </Application>
</Directives>

 

posted @ 2017-02-07 09:22  cnblogs1_1  阅读(103)  评论(0)    收藏  举报