文章出處
文章列表
估計有1個月了,在mac上編譯dnx從來沒有成功過,因為在安裝nuget packages時連接myget.org總是超時。
今天在 ASP.NET 5 Beta5 Now Available 中得知 dnx 已經支持 NuGet v3 feed,而且說"Restoring packages using the new NuGet v3 feed is significantly faster"。
于是將 dnx 中的 NuGet.Config 改為 v3 feed:
<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="AspNetVNext" value="https://api.nuget.org/v3/index.json" /> <add key="NuGet" value="https://api.nuget.org/v3/index.json" /> </packageSources> </configuration>
然后編譯試了試,由于有些dnx所需的packages還沒發布到NuGet v3 feed上,編譯沒有成功,但連接NuGet v3 feed的速度以及安裝packages的速度比myget.org快多了。這個問題總算解決了。
文章列表
全站熱搜