ASP.NET Core publish error: project was restored using X version Y would be used instead

added by DotNetKicks
9/13/2018 7:29:16 PM


A quick post to vent my frustration after spending a few hours trying to deploy a self contained ASP.NET Core app. I was going to deploy a portal for our Konstrukt implementation consultants, but the deploy folder would be empty and I kept getting this error when publishing from the commandline: error : NETSDK1061: The project was restored using Microsoft.NETCore.App version 2.1.3, but with current setting s, version 2.1.3-servicing-26724-03 would be used instead.