For an estimated 1 months, compiling DNX on a MAC has never been successful because the connection myget.org always times out when installing nuget packages.
Today, in ASP. NET 5 Beta5 now Available, DNX has supported the NuGet v3 feed and said "Restoring packages using the new NuGet v3 feed is Signifi cantly faster ".
Then change the nuget.config in Dnx to V3 feed:
<?XML version= "1.0" encoding= "Utf-8"?><Configuration> <packagesources> <AddKey= "Aspnetvnext"value= "Https://api.nuget.org/v3/index.json" /> <AddKey= "NuGet"value= "Https://api.nuget.org/v3/index.json" /> </packagesources></Configuration>
The compilation was then tried, and because some DNX required packages not yet released to the NuGet V3 feed, the compilation was unsuccessful, but the speed of the connection to the NuGet v3 feed and the packages installed was much faster than myget.org. The problem has finally been solved.
The thrill of the NuGet v3 feed