Skip to content

Commit

Permalink
Move additional dependencies to be for netstandard only
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Nov 20, 2016
1 parent 5f3ff8d commit e0b6af3
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 17 deletions.
7 changes: 5 additions & 2 deletions Rx.NET/Source/NuSpecs/System.Reactive.Core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
<copyright>Copyright (c) .NET Foundation and Contributors.</copyright>
<language>en-US</language>
<tags>Rx Reactive Extensions Observable LINQ Events</tags>
<dependencies>
<group>
<dependencies>
<group targetFramework="net45">
<dependency id="System.Reactive.Interfaces" version="$version$" />
</group>
<group targetFramework="netstandard1.0">
<dependency id="System.Reactive.Interfaces" version="$version$" />
<dependency id="System.ComponentModel" version="4.0.1" />
<dependency id="System.Diagnostics.Contracts" version="4.0.1" />
Expand Down
9 changes: 7 additions & 2 deletions Rx.NET/Source/NuSpecs/System.Reactive.Linq.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@
<language>en-US</language>
<tags>Rx Reactive Extensions Observable LINQ Events</tags>
<dependencies>
<dependency id="System.Reactive.Core" version="$version$" />
<dependency id="System.Runtime.InteropServices.WindowsRuntime" version="4.0.1" />
<group targetFramework="net45">
<dependency id="System.Reactive.Core" version="$version$" />
</group>
<group targetFramework="netstandard1.0">
<dependency id="System.Reactive.Core" version="$version$" />
<dependency id="System.Runtime.InteropServices.WindowsRuntime" version="4.0.1" />
</group>
</dependencies>
</metadata>
<files>
Expand Down
9 changes: 7 additions & 2 deletions Rx.NET/Source/NuSpecs/System.Reactive.Providers.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@
<language>en-US</language>
<tags>Rx Reactive Extensions Observable LINQ Events</tags>
<dependencies>
<dependency id="System.Reactive.Linq" version="$version$" />
<dependency id="System.Linq.Queryable" version="4.0.1" />
<group targetFramework="net45">
<dependency id="System.Reactive.Linq" version="$version$" />
</group>
<group targetFramework="netstandard1.0">
<dependency id="System.Reactive.Linq" version="$version$" />
<dependency id="System.Linq.Queryable" version="4.0.1" />
</group>
</dependencies>
</metadata>
<files>
Expand Down
38 changes: 31 additions & 7 deletions Rx.NET/Source/System.Reactive.Core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
},

"dependencies": {
"System.Reactive.Interfaces": { "target": "project" },
"System.ComponentModel": "4.0.1",
"System.Diagnostics.Contracts": "4.0.1",
"System.Dynamic.Runtime": "4.0.11"
"System.Reactive.Interfaces": { "target": "project" }
},

"frameworks": {
Expand Down Expand Up @@ -89,6 +86,11 @@
"USE_TIMER_SELF_ROOT",
"PLIB"
]
},
"dependencies": {
"System.ComponentModel": "4.0.1",
"System.Diagnostics.Contracts": "4.0.1",
"System.Dynamic.Runtime": "4.0.11"
}
},
"netstandard1.1": {
Expand All @@ -108,6 +110,11 @@
"USE_TIMER_SELF_ROOT",
"PLIB"
]
},
"dependencies": {
"System.ComponentModel": "4.0.1",
"System.Diagnostics.Contracts": "4.0.1",
"System.Dynamic.Runtime": "4.0.11"
}
},
"netstandard1.3": {
Expand All @@ -128,6 +135,11 @@
"PLIB",
"USE_TIMER_SELF_ROOT"
]
},
"dependencies": {
"System.ComponentModel": "4.0.1",
"System.Diagnostics.Contracts": "4.0.1",
"System.Dynamic.Runtime": "4.0.11"
}
},
"netcoreapp1.0": {
Expand All @@ -149,6 +161,9 @@
]
},
"dependencies": {
"System.ComponentModel": "4.0.1",
"System.Diagnostics.Contracts": "4.0.1",
"System.Dynamic.Runtime": "4.0.11",
"System.Threading.Thread": "4.0.0",
"System.Threading.ThreadPool": "4.0.10"
}
Expand Down Expand Up @@ -179,7 +194,10 @@
"Microsoft.TargetingPack.Private.WindowsPhone.v8.1": {
"version": "1.0.1",
"type": "build"
}
},
"System.ComponentModel": "4.0.1",
"System.Diagnostics.Contracts": "4.0.1",
"System.Dynamic.Runtime": "4.0.11"
}
},
"netcore451": {
Expand Down Expand Up @@ -208,7 +226,10 @@
"Microsoft.TargetingPack.Private.NETCore.v4.5.1": {
"version": "1.0.0",
"type": "build"
}
},
"System.ComponentModel": "4.0.1",
"System.Diagnostics.Contracts": "4.0.1",
"System.Dynamic.Runtime": "4.0.11"
}
},
"uap10.0": {
Expand Down Expand Up @@ -240,7 +261,10 @@
"version": "5.2.0",
"type": "build"
}
}
},
"System.ComponentModel": "4.0.1",
"System.Diagnostics.Contracts": "4.0.1",
"System.Dynamic.Runtime": "4.0.11"
}
}
}
12 changes: 10 additions & 2 deletions Rx.NET/Source/System.Reactive.Linq/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
},

"dependencies": {
"System.Reactive.Core": { "target": "project" },
"System.Runtime.InteropServices.WindowsRuntime": "4.0.1"
"System.Reactive.Core": { "target": "project" }
},

"frameworks": {
Expand Down Expand Up @@ -93,6 +92,9 @@
"USE_TIMER_SELF_ROOT",
"PLIB"
]
},
"dependencies": {
"System.Runtime.InteropServices.WindowsRuntime": "4.0.1"
}
},
"netstandard1.1": {
Expand All @@ -112,6 +114,9 @@
"USE_TIMER_SELF_ROOT",
"PLIB"
]
},
"dependencies": {
"System.Runtime.InteropServices.WindowsRuntime": "4.0.1"
}
},
"netstandard1.3": {
Expand All @@ -132,6 +137,9 @@
"PLIB",
"USE_TIMER_SELF_ROOT"
]
},
"dependencies": {
"System.Runtime.InteropServices.WindowsRuntime": "4.0.1"
}
}
}
Expand Down
9 changes: 7 additions & 2 deletions Rx.NET/Source/System.Reactive.Providers/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
},

"dependencies": {
"System.Reactive.Linq": { "target": "project" },
"System.Linq.Queryable": "4.0.1"
"System.Reactive.Linq": { "target": "project" }
},

"frameworks": {
Expand Down Expand Up @@ -87,6 +86,9 @@
"USE_TIMER_SELF_ROOT",
"PLIB"
]
},
"dependencies": {
"System.Linq.Queryable": "4.0.1"
}
},
"netstandard1.3": {
Expand All @@ -107,6 +109,9 @@
"PLIB",
"USE_TIMER_SELF_ROOT"
]
},
"dependencies": {
"System.Linq.Queryable": "4.0.1"
}
}
}
Expand Down

0 comments on commit e0b6af3

Please sign in to comment.