浏览代码

Adding runtime directives for Ix

Oren Novotny 9 年之前
父节点
当前提交
64c4d525a6

+ 7 - 0
Ix.NET/Source/System.Interactive.Async.Providers/Properties/System.Interactive.Async.Providers.rd.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
+  <Library>
+    <Assembly Name="System.Interactive.Async.Providers" Browse="Required All" Dynamic="Required All" />
+    <!-- TODO optimize this for types that actually need reflection -->
+  </Library>
+</Directives>

+ 5 - 2
Ix.NET/Source/System.Interactive.Async.Providers/project.json

@@ -18,7 +18,10 @@
     "publicSign": true,
     "define": [ "SIGNED" ],
     "nowarn": [ "CS1591" ],
-    "xmlDoc": true
+    "xmlDoc": true,
+    "embed": {
+      "includeFiles": "Properties/System.Interactive.Async.Providers.rd.xml"
+    }
   },
   
   "configurations": {
@@ -26,7 +29,7 @@
       "buildOptions": {
         "publicSign": false,
         "delaySign": true,
-        "define": ["RELEASE", "TRACE"],
+        "define": [ "RELEASE", "TRACE" ],
         "optimize": true
       }
     }

+ 7 - 0
Ix.NET/Source/System.Interactive.Providers/Properties/System.Interactive.Providers.rd.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
+  <Library>
+    <Assembly Name="System.Interactive.Providers" Browse="Required All" Dynamic="Required All" />
+    <!-- TODO optimize this for types that actually need reflection -->
+  </Library>
+</Directives>

+ 5 - 2
Ix.NET/Source/System.Interactive.Providers/project.json

@@ -18,7 +18,10 @@
     "publicSign": true,
     "define": [ "SIGNED" ],
     "nowarn": [ "CS1591" ],
-    "xmlDoc": true
+    "xmlDoc": true,
+    "embed": {
+      "includeFiles": "Properties/System.Interactive.Providers.rd.xml"
+    }
   },
   
   "configurations": {
@@ -26,7 +29,7 @@
       "buildOptions": {
         "publicSign": false,
         "delaySign": true,
-        "define": ["RELEASE", "TRACE"],
+        "define": [ "RELEASE", "TRACE" ],
         "optimize": true
       }
     }