2012-10-12 118 views
0

我有一個基本上爲空的VS2012類庫項目,我試圖添加ReactiveUI。我已經使用Nuget安裝NLog和Reactive Extensions。當我嘗試安裝ReactiveUI 3.99時,出現以下錯誤日誌。通過nuget安裝ReactiveUI的問題

更新:我能夠手動添加ReactiveUI引用W/O 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> 

回答

0

這是目前的一個錯誤,請創建一個.NET 4.0項目或項目WinRT中,它會奏效。對於那個很抱歉。

更新:現在這是固定的,檢查出ReactiveUI 4.0預覽5

+0

這解決工作。感謝您的幫助和RXUI。 – kenny