zzarchive-fsharp-dnx
zzarchive-fsharp-dnx copied to clipboard
NuGet.config is out-dated?
I'm trying to compile the example
First criticism, why is the NuGet.config not in the hello world sample folder? I don't want to clone this repo, I just want to compile simplest possible example using NuGet dependency.
I found out I can copy the NuGet.config from the root of the fsharp-dnx:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="YoloDev" value="https://www.myget.org/F/yolodev/api/v3/index.json" />
<add key="Roslyn" value="https://www.myget.org/F/roslyn-nightly/api/v3/index.json" />
<add key="Asp.NET vNext" value="https://www.myget.org/F/aspnetvnext/api/v3/index.json" />
<add key="Nuget Central" value="https://api.nuget.org/v3/index.json" />
<add key="xunit" value="https://www.myget.org/F/xunit/api/v3/index.json" />
</packageSources>
</configuration>
However it can't find FSharp.DNX:
C:\Source\dotNET\HelloFSharp>dnu restore
Microsoft .NET Development Utility Clr-x86-1.0.0-rc1-16231
GET https://www.myget.org/F/yolodev/api/v3/index.json
OK https://www.myget.org/F/yolodev/api/v3/index.json 608ms
GET https://www.myget.org/F/roslyn-nightly/api/v3/index.json
OK https://www.myget.org/F/roslyn-nightly/api/v3/index.json 369ms
GET https://www.myget.org/F/aspnetvnext/api/v3/index.json
OK https://www.myget.org/F/aspnetvnext/api/v3/index.json 354ms
CACHE https://api.nuget.org/v3/index.json
GET https://www.myget.org/F/xunit/api/v3/index.json
OK https://www.myget.org/F/xunit/api/v3/index.json 436ms
Restoring packages for C:\Source\dotNET\HelloFSharp\project.json
**Unable to locate Dependency FSharp.Dnx**
I think "YoloDev" is old name.
Edit I can't figure out what is the new repository name, I tried:
<add key="FSharp.Dnx" value="https://www.myget.org/F/fsharp-dnx/api/v3/index.json" />
it however gives same error: Unable to locate Dependency FSharp.Dnx when I try to dnu restore.