通过nuget安装ReactiveUI的问题

时间:2012-10-12 12:19:43

标签: visual-studio-2012 nuget reactiveui

我有一个基本上空的VS2012类库项目,我正在尝试添加ReactiveUI。我已经使用Nuget来安装NLog和Reactive Extensions。当我尝试安装ReactiveUI 3.99时,我收到以下错误日志。

更新:我能够手动添加ReactiveUI引用没有Nuget,它们似乎工作正常。

------- Installing...reactiveui 3.99.4-beta -------
Attempting to resolve dependency 'reactiveui-core (= 3.99.4-beta)'.
Attempting to resolve dependency 'Rx-Main (= 2.0.20823)'.
Attempting to resolve dependency 'Rx-Interfaces (≥ 2.0.20823)'.
Attempting to resolve dependency 'Rx-Core (≥ 2.0.20823)'.
Attempting to resolve dependency 'Rx-Linq (≥ 2.0.20823)'.
Attempting to resolve dependency 'Rx-PlatformServices (≥ 2.0.20823)'.
Attempting to resolve dependency 'reactiveui-nlog (= 3.99.4-beta)'.
Attempting to resolve dependency 'NLog (≥ 2.0.0.2000)'.
Attempting to resolve dependency 'reactiveui-xaml (= 3.99.4-beta)'.
Attempting to resolve dependency 'Rx-Xaml (= 2.0.20823)'.
Attempting to resolve dependency 'reactiveui-testing (= 3.99.4-beta)'.
Attempting to resolve dependency 'Rx-Testing (= 2.0.20823)'.
'reactiveui-core 3.99.4-beta' already installed.
'reactiveui-nlog 3.99.4-beta' already installed.
'Rx-Xaml 2.0.20823' already installed.
'reactiveui-xaml 3.99.4-beta' already installed.
'Rx-Testing 2.0.20823' already installed.
'reactiveui-testing 3.99.4-beta' already installed.
'reactiveui 3.99.4-beta' already installed.
Added file 'packages.config'.
Added file 'packages.config'.
Failed to add reference to 'ReactiveUI'.
==============================

这是我的项目文件的参考:

  <ItemGroup>
    <Reference Include="NLog">
      <HintPath>..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll</HintPath>
    </Reference>
    <Reference Include="PresentationCore" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Reactive.Core">
      <HintPath>..\packages\Rx-Core.2.0.20823\lib\Net45\System.Reactive.Core.dll</HintPath>
    </Reference>
    <Reference Include="System.Reactive.Interfaces">
      <HintPath>..\packages\Rx-Interfaces.2.0.20823\lib\Net45\System.Reactive.Interfaces.dll</HintPath>
    </Reference>
    <Reference Include="System.Reactive.Linq">
      <HintPath>..\packages\Rx-Linq.2.0.20823\lib\Net45\System.Reactive.Linq.dll</HintPath>
    </Reference>
    <Reference Include="System.Reactive.PlatformServices">
      <HintPath>..\packages\Rx-PlatformServices.2.0.20823\lib\Net45\System.Reactive.PlatformServices.dll</HintPath>
    </Reference>
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
    <Reference Include="WindowsBase" />
  </ItemGroup>

1 个答案:

答案 0 :(得分:0)

这是一个错误,创建一个.NET 4.0项目或一个WinRT项目,它将工作。对不起。

更新:现在已修复,请查看ReactiveUI 4.0 Preview 5