简体   繁体   中英

asp.net 5 cannot find rc2 nuget packages

I have a simple asp.net 5 web application. My project.json file contains dependency:

  "Microsoft.IdentityModel.Tokens": "5.0.0-rc2-301060021"

When I restore nuget packages, this package is restored well on my machine. project.json file is in source control, but it does not work on other machine. It says that this package is not found.

Anyway, in nuget configuration Im pointing to my local nuget packages repository, which does not even contain asp.net 5 nuget packages. Where all of these packages come from?

RC2 has not yet been made public, we're still on RC1. Here is the roadmap schedule , which indicates sometime this year. If you do somehow have the package on your machine, you could setup another NuGet feed that others on your project could point to -- then simply place the package in there, so it's on shared feed.

Here is some helping documentation that shows you how to do that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM