2015-04-23 174 views
0

我使用Visual Studio 2015最新版CTP從https://github.com/aspnet/DependencyInjection下載了代碼。我越來越想開解,當這個錯誤:我用Google搜索這個無法從源代碼構建DependencyInjection包

DependencyInjection\src\Microsoft.Framework.DependencyInjection.Interfaces\Microsoft.Framework.DependencyInjection.Interfaces.xproj : error : Value cannot be null.
Parameter name: projectMoniker

但我還沒有找到任何解決辦法呢。

而且我試圖編譯代碼的命令行,但我得到一個不同的錯誤:

Adding C:\Users\user.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta5-11596\bin to process PATH warn: The given key was not present in the dictionary. verbose: Stack trace:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Sake.Engine.Builder.BuilderBase`1.CallTarget(String name)

任何人得到這個工作?

+0

您確實看到:https://ci.appveyor.com/project/aspnetci/DependencyInjection/branch/dev編譯失敗 –

+0

您也看到了:https://github.com/aspnet/Home/issues/377 * ggrnd0評論26天前* –

回答

0

我看着由@AndreasNiedermair提供的第一連桿和從顯影劑命令提示試圖

build --quiet verify 

此之前,我也不得不文件在

$(VSToolsPath)\AspNet\Microsoft.Web.AspNet.Props 

重命名爲:

$(VSToolsPath)\DNX\Microsoft.DNX.Props 

爲了加載時避免另一個錯誤。

終於搞定了。

+1

你知道你可以接受你自己的答案作爲解決方案,這是鼓勵! –