Răsfoiți Sursa

Enable signing support for Ix builds.

Bart De Smet 9 ani în urmă
părinte
comite
344a9d5ff9

+ 17 - 0
Ix.NET/Source/System.Interactive.Async.Providers/project.json

@@ -12,6 +12,23 @@
     "licenseUrl": "https://raw.githubusercontent.com/Reactive-Extensions/Rx.NET/master/Ix.NET/Source/license.txt",
     "requireLicenseAcceptance": true
   },
+  
+  "buildOptions": {
+    "keyFile": "../35MSSharedLib1024.snk",
+    "publicSign": true,
+    "define": ["SIGNED"]
+  },
+  
+  "configurations": {
+    "ReleaseDelaySigned": {
+      "buildOptions": {
+        "publicSign": false,
+        "delaySign": true,
+        "define": ["RELEASE", "TRACE"],
+        "optimize": true
+      }
+    }
+  },
 
   "dependencies": {
     "System.Interactive.Async": { "target": "project" }

+ 17 - 0
Ix.NET/Source/System.Interactive.Async/project.json

@@ -12,6 +12,23 @@
     "licenseUrl": "https://raw.githubusercontent.com/Reactive-Extensions/Rx.NET/master/Ix.NET/Source/license.txt",
     "requireLicenseAcceptance": true
   },
+  
+  "buildOptions": {
+    "keyFile": "../35MSSharedLib1024.snk",
+    "publicSign": true,
+    "define": ["SIGNED"]
+  },
+  
+  "configurations": {
+    "ReleaseDelaySigned": {
+      "buildOptions": {
+        "publicSign": false,
+        "delaySign": true,
+        "define": ["RELEASE", "TRACE"],
+        "optimize": true
+      }
+    }
+  },
 
   "frameworks": {
     "net40": {

+ 17 - 0
Ix.NET/Source/System.Interactive.Providers/project.json

@@ -12,6 +12,23 @@
     "licenseUrl": "https://raw.githubusercontent.com/Reactive-Extensions/Rx.NET/master/Ix.NET/Source/license.txt",
     "requireLicenseAcceptance": true
   },
+  
+  "buildOptions": {
+    "keyFile": "../35MSSharedLib1024.snk",
+    "publicSign": true,
+    "define": ["SIGNED"]
+  },
+  
+  "configurations": {
+    "ReleaseDelaySigned": {
+      "buildOptions": {
+        "publicSign": false,
+        "delaySign": true,
+        "define": ["RELEASE", "TRACE"],
+        "optimize": true
+      }
+    }
+  },
 
   "dependencies": {
     "System.Interactive": { "target": "project" }

+ 17 - 0
Ix.NET/Source/System.Interactive/project.json

@@ -12,6 +12,23 @@
     "licenseUrl": "https://raw.githubusercontent.com/Reactive-Extensions/Rx.NET/master/Ix.NET/Source/license.txt",
     "requireLicenseAcceptance": true
   },
+  
+  "buildOptions": {
+    "keyFile": "../35MSSharedLib1024.snk",
+    "publicSign": true,
+    "define": ["SIGNED"]
+  },
+  
+  "configurations": {
+    "ReleaseDelaySigned": {
+      "buildOptions": {
+        "publicSign": false,
+        "delaySign": true,
+        "define": ["RELEASE", "TRACE"],
+        "optimize": true
+      }
+    }
+  },
 
   "frameworks": {
     "net40": {

+ 19 - 1
Ix.NET/Source/Tests/project.json

@@ -12,13 +12,31 @@
     "licenseUrl": "https://raw.githubusercontent.com/Reactive-Extensions/Rx.NET/master/Ix.NET/Source/license.txt",
     "requireLicenseAcceptance": true
   },
-
+  
   "buildOptions": {
+    "nowarn": ["CS0618"],
+    "keyFile": "../35MSSharedLib1024.snk",
+    "publicSign": true,
+    "define": ["SIGNED"],
+    "copyToOutput": {
+      "include": [ "xunit.runner.json" ]
+    },
     "exclude": [
       "App.cs"
     ]
   },
   
+  "configurations": {
+    "ReleaseDelaySigned": {
+      "compibuildOptionslationOptions": {
+        "publicSign": false,
+        "delaySign": true,
+        "define": ["RELEASE", "TRACE"],
+        "optimize": true
+      }
+    }
+  },
+  
   "dependencies": {
     "System.Interactive.Providers": { "target": "project" },
     "System.Interactive.Async.Providers": { "target": "project" },