Installing nuget package from GitHub

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 05:36:17
Philippe

With NuGet, there is no way to take a pre-version from a Git repository.

You could:

  1. Ask for the release of a new version of the NuGet package, or at least a pre-release.

  2. Clone the repository, build the version, and replace the NuGet package with a local dependency. (Not a good solution!)

  3. Like the above, but put it in your own NuGet server.

  4. Manage the repository as a Git submodule.

  5. Switch from NuGet to Paket which supports references toward a Git repository. (Surely the best solution if your case could appear often.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!