The indicated dependency was Microsoft.AspNet.Mvc> = 6.0.0-beta6, but eventually Microsoft.AspNet.Mvc 6.0.0-beta5 appeared

In VS 2015, after updating the NuGet packages, the following warning appears:

The dependency defined was Microsoft.AspNet.Mvc> = 6.0.0-beta6, but ended with Microsoft.AspNet.Mvc 6.0.0-beta5.

What does it mean?

EDIT:

The problem is that the recently updated package was not restored on my system. I had to manually restore packages by clicking on the project and selecting Restore.

Why are they not being restored to the assembly?

+7
asp.net-core visual-studio-2015 asp.net-core-mvc
source share
1 answer

Recovery does not occur during assembly. This happens when dependencies change (the project.json file is saved or manual recovery occurs). Building should happen more often than changing dependencies, so combining two things is not a great idea. Also, because the entire dependency graph needs to be checked against tuned channels, recovery can be slow. Therefore, it is better not to slow down the assembly.

FYI: You should never be mistaken (stating that beta6 has been specified and beta6 has been replaced. This is an error, see https://github.com/aspnet/dnx/issues/2402 )

+8
source share

All Articles