Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

NuGet.config is out-dated? #30

Open
Ciantic opened this issue Feb 15, 2016 · 0 comments
Open

NuGet.config is out-dated? #30

Ciantic opened this issue Feb 15, 2016 · 0 comments

Comments

@Ciantic
Copy link

Ciantic commented Feb 15, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant