Browse Source

Build Win81+Wpa81+uap10.0 in to package correctly

Oren Novotny 9 years ago
parent
commit
bf427a9de0

+ 93 - 1
Rx.NET/Source/Microsoft.Reactive.Testing/project.json

@@ -60,7 +60,7 @@
             "dependencies": {
                 "System.Runtime": "4.1.0-rc2-23811"
             }
-            
+
         },
         "netstandard1.0": {
             "imports": [ "dotnet5.1", "dnxcore50", "portable-net45+win8" ],
@@ -108,6 +108,98 @@
             },
             "dependencies": {
             }
+        },
+        "wpa81": {
+            "imports": [ "dotnet5.2" ],
+            "compilationOptions": {
+                "define": [
+                    "NO_EVENTARGS_CONSTRAINT",
+                    "HAS_EDI",
+                    "HAS_WINRT",
+                    "HAS_PROGRESS",
+                    "PREFER_ASYNC",
+                    "HAS_AWAIT",
+                    "NO_REMOTING",
+                    "NO_SERIALIZABLE",
+                    "NO_THREAD",
+                    "CRIPPLED_REFLECTION",
+                    "USE_TIMER_SELF_ROOT",
+                    "WINDOWS",
+                    "WINDOWS81"
+                ]
+            },
+            "dependencies": {
+                "Microsoft.TargetingPack.Private.WinRT": {
+                    "version": "1.0.1",
+                    "type": "build"
+                },
+                "Microsoft.TargetingPack.Private.WindowsPhone.v.8.1": {
+                    "version": "1.0.0",
+                    "type": "build"
+                }
+            }
+        },
+        "win81": {
+            "imports": [ "dotnet5.2" ],
+            "compilationOptions": {
+                "define": [
+                    "NO_EVENTARGS_CONSTRAINT",
+                    "HAS_EDI",
+                    "HAS_WINRT",
+                    "HAS_PROGRESS",
+                    "PREFER_ASYNC",
+                    "HAS_AWAIT",
+                    "NO_REMOTING",
+                    "NO_SERIALIZABLE",
+                    "NO_THREAD",
+                    "CRIPPLED_REFLECTION",
+                    "USE_TIMER_SELF_ROOT",
+                    "WINDOWS",
+                    "WINDOWS81"
+                ]
+            },
+            "dependencies": {
+                "Microsoft.TargetingPack.Private.WinRT": {
+                    "version": "1.0.1",
+                    "type": "build"
+                },
+                "Microsoft.TargetingPack.Private.NETCore.v4.5.1": {
+                    "version": "1.0.0",
+                    "type": "build"
+                }
+            }
+
+        },
+        "uap10.0": {
+            "imports": [ "dotnet5.4" ],
+            "compilationOptions": {
+                "define": [
+                    "NO_EVENTARGS_CONSTRAINT",
+                    "HAS_EDI",
+                    "HAS_WINRT",
+                    "HAS_PROGRESS",
+                    "PREFER_ASYNC",
+                    "HAS_AWAIT",
+                    "HAS_APTCA",
+                    "HAS_TPL46",
+                    "NO_REMOTING",
+                    "NO_SERIALIZABLE",
+                    "NO_THREAD",
+                    "CRIPPLED_REFLECTION",
+                    "WINDOWS",
+                    "USE_TIMER_SELF_ROOT"
+                ]
+            },
+            "dependencies": {
+                "Microsoft.TargetingPack.Private.WinRT": {
+                    "version": "1.0.1",
+                    "type": "build"
+                },
+                "Microsoft.NETCore.UniversalWindowsPlatform": {
+                    "version": "5.1.0-rc2-23811",
+                    "type": "build"
+                }
+            }
         }
     }
 }

+ 9 - 2
Rx.NET/Source/System.Reactive.PlatformServices/project.json

@@ -191,12 +191,19 @@
                     "NO_SERIALIZABLE",
                     "NO_THREAD",
                     "CRIPPLED_REFLECTION",
-                    "PLIB",
+                    "WINDOWS",
                     "USE_TIMER_SELF_ROOT"
                 ]
             },
             "dependencies": {
-                "NETStandard.Library": "1.0.0-rc2-23811"
+                "Microsoft.TargetingPack.Private.WinRT": {
+                    "version": "1.0.1",
+                    "type": "build"
+                },
+                "Microsoft.NETCore.UniversalWindowsPlatform": {
+                    "version": "5.1.0-rc2-23811",
+                    "type": "build"
+                }
             }
         },
         "sl5": {

+ 65 - 5
Rx.NET/Source/System.Reactive.Windows.Threading/project.json

@@ -54,7 +54,7 @@
                 "WindowsBase": "4.0.0.0"
             }
         },
-        ".NETPortable,Version=v4.6,Profile=Profile32": {
+        "wpa81": {
             "imports": [ "dotnet5.2" ],
             "compilationOptions": {
                 "define": [
@@ -74,17 +74,76 @@
                 ]
             },
             "dependencies": {
-                "Microsoft.NETCore.Portable.Compatibility": {
+                "Microsoft.TargetingPack.Private.WinRT": {
+                    "version": "1.0.1",
+                    "type": "build"
+                },
+                "Microsoft.TargetingPack.Private.WindowsPhone.v.8.1": {
                     "version": "1.0.0",
                     "type": "build"
+                }
+            }
+        },
+        "win81": {
+            "imports": [ "dotnet5.2" ],
+            "compilationOptions": {
+                "define": [
+                    "NO_EVENTARGS_CONSTRAINT",
+                    "HAS_EDI",
+                    "HAS_WINRT",
+                    "HAS_PROGRESS",
+                    "PREFER_ASYNC",
+                    "HAS_AWAIT",
+                    "NO_REMOTING",
+                    "NO_SERIALIZABLE",
+                    "NO_THREAD",
+                    "CRIPPLED_REFLECTION",
+                    "USE_TIMER_SELF_ROOT",
+                    "WINDOWS",
+                    "WINDOWS81"
+                ]
+            },
+            "dependencies": {
+                "Microsoft.TargetingPack.Private.WinRT": {
+                    "version": "1.0.1",
+                    "type": "build"
                 },
+                "Microsoft.TargetingPack.Private.NETCore.v4.5.1": {
+                    "version": "1.0.0",
+                    "type": "build"
+                }
+            }
+
+        },
+        "uap10.0": {
+            "imports": [ "dotnet5.4" ],
+            "compilationOptions": {
+                "define": [
+                    "NO_EVENTARGS_CONSTRAINT",
+                    "HAS_EDI",
+                    "HAS_WINRT",
+                    "HAS_PROGRESS",
+                    "PREFER_ASYNC",
+                    "HAS_AWAIT",
+                    "HAS_APTCA",
+                    "HAS_TPL46",
+                    "NO_REMOTING",
+                    "NO_SERIALIZABLE",
+                    "NO_THREAD",
+                    "CRIPPLED_REFLECTION",
+                    "WINDOWS",
+                    "USE_TIMER_SELF_ROOT"
+                ]
+            },
+            "dependencies": {
                 "Microsoft.TargetingPack.Private.WinRT": {
                     "version": "1.0.1",
                     "type": "build"
                 },
-                "System.Diagnostics.Tools": "4.0.1-rc2-23811",
-                "System.Diagnostics.Debug": "4.0.11-rc2-23811",
-                "System.Runtime.InteropServices.WindowsRuntime": "4.0.1-rc2-23811"
+                "Microsoft.NETCore.UniversalWindowsPlatform": {
+                    "version": "5.1.0-rc2-23811",
+                    "type": "build"
+                } 
             }
         },
         "sl5": {
@@ -105,6 +164,7 @@
                 ]
             },
             "dependencies": {
+
             }
         }
     }

+ 65 - 6
Rx.NET/Source/System.Reactive.WindowsRuntime/project.json

@@ -15,8 +15,8 @@
   },
 
     "frameworks": {
-        ".NETPortable,Version=v4.6,Profile=Profile32": {
-            "imports": ["dotnet5.2"],
+        "wpa81": {
+            "imports": [ "dotnet5.2" ],
             "compilationOptions": {
                 "define": [
                     "NO_EVENTARGS_CONSTRAINT",
@@ -35,18 +35,77 @@
                 ]
             },
             "dependencies": {
-                "Microsoft.NETCore.Portable.Compatibility": {
-                    "version": "1.0.0",
+                "Microsoft.TargetingPack.Private.WinRT": {
+                    "version": "1.0.1",
                     "type": "build"
                 },
+                "Microsoft.TargetingPack.Private.WindowsPhone.v.8.1": {
+                    "version": "1.0.0",
+                    "type": "build"
+                }
+            }
+        },
+        "win81": {
+            "imports": [ "dotnet5.2" ],
+            "compilationOptions": {
+                "define": [
+                    "NO_EVENTARGS_CONSTRAINT",
+                    "HAS_EDI",
+                    "HAS_WINRT",
+                    "HAS_PROGRESS",
+                    "PREFER_ASYNC",
+                    "HAS_AWAIT",
+                    "NO_REMOTING",
+                    "NO_SERIALIZABLE",
+                    "NO_THREAD",
+                    "CRIPPLED_REFLECTION",
+                    "USE_TIMER_SELF_ROOT",
+                    "WINDOWS",
+                    "WINDOWS81"
+                ]
+            },
+            "dependencies": {
                 "Microsoft.TargetingPack.Private.WinRT": {
                     "version": "1.0.1",
                     "type": "build"
                 },
-                "System.Threading.Tasks": "4.0.11-rc2-23811",
-                "System.Runtime.WindowsRuntime": "4.0.11-rc2-23811"
+                "Microsoft.TargetingPack.Private.NETCore.v4.5.1": {
+                    "version": "1.0.0",
+                    "type": "build"
+                }
             }
 
+        },
+        "uap10.0": {
+            "imports": [ "dotnet5.4" ],
+            "compilationOptions": {
+                "define": [
+                    "NO_EVENTARGS_CONSTRAINT",
+                    "HAS_EDI",
+                    "HAS_WINRT",
+                    "HAS_PROGRESS",
+                    "PREFER_ASYNC",
+                    "HAS_AWAIT",
+                    "HAS_APTCA",
+                    "HAS_TPL46",
+                    "NO_REMOTING",
+                    "NO_SERIALIZABLE",
+                    "NO_THREAD",
+                    "CRIPPLED_REFLECTION",
+                    "WINDOWS",
+                    "USE_TIMER_SELF_ROOT"
+                ]
+            },
+            "dependencies": {
+                "Microsoft.TargetingPack.Private.WinRT": {
+                    "version": "1.0.1",
+                    "type": "build"
+                },
+                "Microsoft.NETCore.UniversalWindowsPlatform": {
+                    "version": "5.1.0-rc2-23811",
+                    "type": "build"
+                }
+            }
         }
     }
 }