Explorar el Código

Add SL5 build outputs

Oren Novotny hace 9 años
padre
commit
a9ed735c6a

+ 3 - 2
Ix.NET/Source/NuGet.Config

@@ -5,10 +5,11 @@
     <add key="myget.org dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />    
     <add key="dotnet.myget.org dotnet-cli" value="https://dotnet.myget.org/F/dotnet-cli/api/v3/index.json" /> 
     <add key="coreclr-xunit" value="https://www.myget.org/F/coreclr-xunit/api/v3/index.json" /> 
+    <add key="Build Packages" value="https://www.myget.org/F/c037199d-41df-4567-b966-25ff65324688/api/v3/index.json" />
     <add key="AspNetCIDev" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" />
     <add key="nugetbuild" value="https://www.myget.org/F/nugetbuild/api/v3/index.json" />
-    <add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
-  </packageSources>  
+    <add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />    
+  </packageSources>
   <disabledPackageSources>
      <clear />
   </disabledPackageSources>

+ 27 - 11
Ix.NET/Source/System.Interactive.Async/project.json

@@ -30,18 +30,34 @@
                 ]
             }
         },
-      "netstandard1.0": {
-        "compilationOptions": {
-          "define": [
-            "HAS_AWAIT",
-            "CRIPPLED_REFLECTION",
-            "PLIB"
-          ]
+        "netstandard1.0": {
+            "compilationOptions": {
+                "define": [
+                    "HAS_AWAIT",
+                    "CRIPPLED_REFLECTION",
+                    "PLIB"
+                ]
+            },
+            "imports": [ "dnxcore50", "portable-net45+win8" ],
+            "dependencies": {
+                "NETStandard.Library": "1.0.0-rc2-23811"
+            }
         },
-        "imports": [ "dnxcore50", "portable-net45+win8" ],
-        "dependencies": {
-          "NETStandard.Library": "1.0.0-rc2-23811"
+        "sl5": {
+            "compilationOptions": {
+                "define": [
+                    "NO_SERIALIZABLE",
+                    "NO_TPL",
+                    "NO_REMOTING",
+                    "NO_SEMAPHORE",
+                    "NO_RXINTERFACES",
+                    "SILVERLIGHT",
+                    "SILVERLIGHT5"
+                ]
+            },
+            "dependencies": {
+                "Microsoft.TargetingPack.Private.Silverlight.v5": "1.0.2"
+            }
         }
-      }
     }
 }

+ 1 - 1
Ix.NET/Source/System.Interactive.Providers/Reflection.cs

@@ -1,5 +1,5 @@
 // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
-#if CRIPPLED_REFLECTION
+#if CRIPPLED_REFLECTION && !PLIB
 using System.Linq;
 using System.Reflection;
 

+ 50 - 35
Ix.NET/Source/System.Interactive.Providers/project.json

@@ -12,40 +12,55 @@
   "dependencies": {
     "System.Interactive": { "target": "project" }
   },
-  "frameworks": {
-    "net40": {
-      "compilationOptions": {
-        "define": [
-          "HAS_APTCA",
-          "DESKTOPCLR",
-          "DESKTOPCLR40"
-        ]
-      }
-    },
-    "net45": {
-      "compilationOptions": {
-        "define": [
-          "HAS_AWAIT",
-          "HAS_APTCA",
-          "DESKTOPCLR",
-          "DESKTOPCLR45"
-        ]
-      }
-    },
-    "netstandard1.0": {
-      "compilationOptions": {
-        "define": [
-          "HAS_AWAIT",
-          "CRIPPLED_REFLECTION",
-          "PLIB"
-        ]
-      },
-      "imports": [ "dnxcore50", "portable-net45+win8" ],
-      "dependencies": {
-        "System.Linq.Expressions": "4.0.11-rc2-23811",
-        "System.Linq.Queryable": "4.0.1-rc2-23811",
-        "System.Reflection": "4.1.0-rc2-23811"
-      }
+    "frameworks": {
+        "net40": {
+            "compilationOptions": {
+                "define": [
+                    "HAS_APTCA",
+                    "DESKTOPCLR",
+                    "DESKTOPCLR40"
+                ]
+            }
+        },
+        "net45": {
+            "compilationOptions": {
+                "define": [
+                    "HAS_AWAIT",
+                    "HAS_APTCA",
+                    "DESKTOPCLR",
+                    "DESKTOPCLR45"
+                ]
+            }
+        },
+        "netstandard1.0": {
+            "compilationOptions": {
+                "define": [
+                    "HAS_AWAIT",
+                    "CRIPPLED_REFLECTION",
+                    "PLIB"
+                ]
+            },
+            "imports": [ "dnxcore50", "portable-net45+win8" ],
+            "dependencies": {
+                "System.Linq.Expressions": "4.0.11-rc2-23811",
+                "System.Linq.Queryable": "4.0.1-rc2-23811",
+                "System.Reflection": "4.1.0-rc2-23811"
+            }
+        },
+        "sl5": {
+            "compilationOptions": {
+                "define": [
+                    "NO_SERIALIZABLE",
+                    "NO_TPL",
+                    "NO_REMOTING",
+                    "NO_SEMAPHORE",
+                    "NO_RXINTERFACES",
+                    "SILVERLIGHT",
+                    "SILVERLIGHT5"
+                ]
+            },
+            "dependencies": {
+            }
+        }
     }
-  }
 }

+ 49 - 33
Ix.NET/Source/System.Interactive/project.json

@@ -9,38 +9,54 @@
   "projectUrl": "https://github.com/Reactive-Extensions/Rx.NET",
   "licenseUrl": "https://raw.githubusercontent.com/Reactive-Extensions/Rx.NET/master/Ix.NET/Source/license.txt",
   "requireLicenseAcceptance": true,
-  "frameworks": {
-    "net40": {
-      "compilationOptions": {
-        "define": [
-          "HAS_APTCA",
-          "DESKTOPCLR",
-          "DESKTOPCLR40"
-        ]
-      }
-    },
-    "net45": {
-      "compilationOptions": {
-        "define": [
-          "HAS_AWAIT",
-          "HAS_APTCA",
-          "DESKTOPCLR",
-          "DESKTOPCLR45"
-        ]
-      }
-    },
-    "netstandard1.0": {
-      "compilationOptions": {
-        "define": [
-          "HAS_AWAIT",
-          "CRIPPLED_REFLECTION",
-          "PLIB"
-        ]
-      },
-      "imports": [ "dnxcore50", "portable-net45+win8" ],
-      "dependencies": {
-        "NETStandard.Library": "1.0.0-rc2-23811"
-      }
+    "frameworks": {
+        "net40": {
+            "compilationOptions": {
+                "define": [
+                    "HAS_APTCA",
+                    "DESKTOPCLR",
+                    "DESKTOPCLR40"
+                ]
+            }
+        },
+        "net45": {
+            "compilationOptions": {
+                "define": [
+                    "HAS_AWAIT",
+                    "HAS_APTCA",
+                    "DESKTOPCLR",
+                    "DESKTOPCLR45"
+                ]
+            }
+        },
+        "netstandard1.0": {
+            "compilationOptions": {
+                "define": [
+                    "HAS_AWAIT",
+                    "CRIPPLED_REFLECTION",
+                    "PLIB"
+                ]
+            },
+            "imports": [ "dnxcore50", "portable-net45+win8" ],
+            "dependencies": {
+                "NETStandard.Library": "1.0.0-rc2-23811"
+            }
+        },
+        "sl5": {
+            "compilationOptions": {
+                "define": [
+                    "NO_SERIALIZABLE",
+                    "NO_TPL",
+                    "NO_REMOTING",
+                    "NO_SEMAPHORE",
+                    "NO_RXINTERFACES",
+                    "SILVERLIGHT",
+                    "SILVERLIGHT5"
+                ]
+            },
+            "dependencies": {
+                "Microsoft.TargetingPack.Private.Silverlight.v5": "1.0.2"
+            }
+        }
     }
-  }
 }