I just downloaded the Asp.Net Core MVC version of my ASPNETZERO solution. When I open the solution, I am getting the below error during NuGet package restore.
I did find another posting on this same issue and I forced HangFire 1.6.8 in all three projects, but still the errors remain.
Errors in \ASPNETZERO\Ops\src\Ops.Web.Mvc\Ops.Web.Mvc.xproj
Version conflict detected for Hangfire.Core.
Ops.Web.Mvc (>= 1.0.0) -> Ops.Web.Core (>= 1.0.0) -> Abp.HangFire (>= 1.2.2) -> Hangfire.Core (>= 1.6.8)
Ops.Web.Mvc (>= 1.0.0) -> Ops.Web.Core (>= 1.0.0) -> Hangfire.SqlServer (>= 1.6.7) -> Hangfire.Core (= 1.6.7).
Errors in \ASPNETZERO\Ops\src\Ops.Web.Host\Ops.Web.Host.xproj
Version conflict detected for Hangfire.Core.
Ops.Web.Host (>= 1.0.0) -> Ops.Web.Core (>= 1.0.0) -> Abp.HangFire (>= 1.2.2) -> Hangfire.Core (>= 1.6.8)
Ops.Web.Host (>= 1.0.0) -> Ops.Web.Core (>= 1.0.0) -> Hangfire.SqlServer (>= 1.6.7) -> Hangfire.Core (= 1.6.7).
Errors in \ASPNETZERO\Ops\src\Ops.Web.Core\Ops.Web.Core.xproj
Version conflict detected for Hangfire.Core.
Ops.Web.Core (>= 1.0.0) -> Abp.HangFire (>= 1.2.2) -> Hangfire.Core (>= 1.6.8)
Ops.Web.Core (>= 1.0.0) -> Hangfire.SqlServer (>= 1.6.7) -> Hangfire.Core (= 1.6.7).
Can you help me resolve these errors?
Thanks!
9 Answer(s)
-
0
I opened the NuGet Package manager and updated everything. That cleaned up almost all the errors. The only one I had to manual fix was: jquery.sparkline.js
v2.1.2
<a class="postlink" href="http://omnipotent.net/jquery.sparkline/">http://omnipotent.net/jquery.sparkline/</a> -
0
Hi,
Thanks for sharing your solution.
What was the problem with jquery.sparkline ? Maybe, we need to fix something in our template.Thanks.
-
0
It was not in the dist folder, so I manually added it.
-
0
<cite>ismcagdas: </cite>
Hi,Thanks for sharing your solution.
What was the problem with jquery.sparkline ? Maybe, we need to fix something in our template.Thanks.
Can you help me resolve my error?
Thanks! -
0
Thanks @JoshYates, we will check this as well.
@exlnt, Have you tried to update HangFire package to 1.6.8 ?
-
0
Yes, If you read my OP, I forced 1.6.8 and still I am getting the errors.
-
0
Can you please help me with this error?
Thanks!
-
0
Hi,
Even if you get this error, the project should work, do you have any build or runtime error ?
We will fix this for the next versions, please follow <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/51">https://github.com/aspnetzero/aspnet-ze ... /issues/51</a>. -
0
Ok, you were right. This time I was not stopped with a build/compile error and was able to run the app.
Thanks!