Browse Source

Merge pull request #48 from shiftbot/net-native-support

Net native support
Oren Novotny 9 years ago
parent
commit
53d09390f4

+ 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" 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" 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
       }
     }

+ 7 - 0
Rx.NET/Source/System.Reactive.Experimental/Properties/System.Reactive.Experimental.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.Reactive.Experimental" Dynamic="Required All" />
+    <!-- TODO optimize this for types that actually need reflection -->
+  </Library>
+</Directives>

+ 4 - 1
Rx.NET/Source/System.Reactive.Experimental/project.json

@@ -18,7 +18,10 @@
     "publicSign": true,
     "define": [ "SIGNED" ],
     "nowarn": [ "CS1591" ],
-    "xmlDoc": true
+    "xmlDoc": true,
+    "embed": {
+      "includeFiles": "Properties/System.Reactive.Experimental.rd.xml"
+    }
   },
   
   "configurations": {

+ 7 - 0
Rx.NET/Source/System.Reactive.Linq/Properties/System.Reactive.Linq.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.Reactive.Linq" Dynamic="Required All" />
+    <!-- TODO optimize this for types that actually need reflection -->
+  </Library>
+</Directives>

+ 3 - 0
Rx.NET/Source/System.Reactive.Linq/project.json

@@ -26,6 +26,9 @@
         "Reactive/Internal/Observers.cs",
         "Reactive/Internal/Producer.cs"
       ]
+    },
+    "embed": {
+      "includeFiles": "Properties/System.Reactive.Linq.rd.xml"
     }
   },
   

+ 7 - 0
Rx.NET/Source/System.Reactive.PlatformServices/Properties/System.Reactive.PlatformServices.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.Reactive.PlatformServices" Dynamic="Required All" />
+    <!-- TODO optimize this for types that actually need reflection -->
+  </Library>
+</Directives>

+ 3 - 0
Rx.NET/Source/System.Reactive.PlatformServices/project.json

@@ -21,6 +21,9 @@
     "xmlDoc": true,
     "compile": {
       "exclude": [ "Strings_PlatformServices.Designer.cs" ]
+    },
+    "embed": {
+      "includeFiles": "Properties/System.Reactive.PlatformServices.rd.xml"
     }
   },
   

+ 7 - 0
Rx.NET/Source/System.Reactive.Providers/Properties/System.Reactive.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.Reactive.Providers" Dynamic="Required All" />
+    <!-- TODO optimize this for types that actually need reflection -->
+  </Library>
+</Directives>

+ 4 - 1
Rx.NET/Source/System.Reactive.Providers/project.json

@@ -18,7 +18,10 @@
     "publicSign": true,
     "define": [ "SIGNED" ],
     "nowarn": [ "CS1591" ],
-    "xmlDoc": true
+    "xmlDoc": true,
+    "embed": {
+      "includeFiles": "Properties/System.Reactive.Providers.rd.xml"
+    }
   },
   
   "configurations": {

+ 7 - 0
Rx.NET/Source/System.Reactive.Runtime.Remoting/Properties/System.Reactive.Runtime.Remoting.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.Reactive.Runtime.Remoting" Dynamic="Required All" />
+    <!-- TODO optimize this for types that actually need reflection -->
+  </Library>
+</Directives>

+ 4 - 1
Rx.NET/Source/System.Reactive.Runtime.Remoting/project.json

@@ -18,7 +18,10 @@
     "publicSign": true,
     "define": [ "SIGNED" ],
     "nowarn": [ "CS1591" ],
-    "xmlDoc": true
+    "xmlDoc": true,
+    "embed": {
+      "includeFiles": "Properties/System.Reactive.Runtime.Remoting.rd.xml"
+    }
   },
   
   "configurations": {