Last post Dec 28, 2018 10:04 PM by bruce (sqlwork.com)
Dec 28, 2018 02:55 PM|AnyUserNameThatLetsMeIn|LINK
I started a new project back in May 2018. I built it on .NET Core 2.1. The full SDK version is 2.1.300 and the runtimes are 2.1.0. Upon releasing this to a test server, the ASP.NET Core runtime versions installed is 2.1.6. From my reading these are only
patch releases so there shouldn't be really any difference. I understand if I upgrade to 2.2 or 2.3 I may need to rebuild or recode bits of it, but patch upgrades shouldn't cause an issue should they?
Dec 28, 2018 06:44 PM|maherjendoubi|LINK
Since the framework .NET Core is fragmented in many nuget packages with corresponding version 2.1.6, you need to restore and rebuild.
The patched versions do not contain breaking changes but security and compatibility fixes with a few performance improvements.
Dec 28, 2018 10:04 PM|bruce (sqlwork.com)|LINK
you should ignore the sdk version (this identifies the tools, and they don't match the runtime version).
what is import is the runtimes you specified in project file. in your case this was probably 2.1.0 runtime (released may 30 2018). if you used the preview, your will need to upgrade to 2.1
assuming you used 2.1.0 (and not the preview), your code should should run on any 2.1.* release. currently 2.1.6 is the LTS release and the one to install on the hosting server.
note: you should be able to update the hosting server with later patches and not update your code.