Dependencies from git

113 views Asked by At

I'm playing a bit with the new Microsoft.AspNet.Identity but the 3.0.0-beta2 looks very different from the current state of affairs in git. I'd like to build against he git version.

I seem to remember hearing that it possible to reference a git repository directly from the dependencies in project.json. How does one do that? What's the syntax?

1

There are 1 answers

0
Victor Hurdugaci On BEST ANSWER

There are two options:

  1. Instead of using the NuGet feed, switch to the Nightly feed on MyGet. We produce builds on every checkin from the code in Git. The latest versions on the MyGet feed are beta4-*
  2. Clone the repo and use global.json to point to the sources, as described in this article

Adding a reference directly to a Git repo without cloning it beforehand is not supported.