Description
Paket is installing a dependency for Portable+Win81+Wpa81 when the target framework is net45. This only seems to happen for the v3 NuGet feed.
The package is ReactiveUI, and you can see the nuspec here.
<group targetFramework="net45" >
<dependency id="Rx-Main" version="2.2.5" />
<dependency id="Splat" version="[1.4.0,2)" />
<dependency id="Rx-Xaml" version="2.2.5" />
</group>
<group targetFramework="Portable-Win81+Wpa81" >
<dependency id="Rx-Main" version="2.2.5" />
<dependency id="Splat" version="[1.4.0,2)" />
<dependency id="Rx-Xaml" version="2.2.5" />
<dependency id="Rx-WinRT" version="2.2.5" />
</group>
When I install the package, I get this in my lock file:
RESTRICTION: == net452
NUGET
remote: https://api.nuget.org/v3/index.json
reactiveui (7.4)
reactiveui-core (7.4)
reactiveui-core (7.4)
Rx-Main (>= 2.2.5)
Rx-Main (>= 2.2.5)
Rx-WinRT (>= 2.2.5)
Rx-Xaml (>= 2.2.5)
Splat (>= 1.4 < 2.0)
Splat (>= 1.4 < 2.0)
And this in my project file:
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5.2'">
<ItemGroup>
<Reference Include="System.Reactive.WindowsRuntime">
<HintPath>packages\Rx-WinRT\lib\portable-win81+wpa81\System.Reactive.WindowsRuntime.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
Repro steps
Run paket install with a paket.dependencies file containing these lines:
framework: net452
source https://api.nuget.org/v3/index.json
nuget reactiveui
Known workarounds
Change the source to https://www.nuget.org/api/v2
Description
Paket is installing a dependency for
Portable+Win81+Wpa81when the target framework isnet45. This only seems to happen for the v3 NuGet feed.The package is ReactiveUI, and you can see the nuspec here.
When I install the package, I get this in my lock file:
And this in my project file:
Repro steps
Run
paket installwith apaket.dependenciesfile containing these lines:Known workarounds
Change the source to
https://www.nuget.org/api/v2