I've started an ASP.NET Core web application with the RC2 version and published it to a Windows server with IIS. Everything worked fine.
When RTM came out, I upgraded VS and the hosting tools, restarted the server, republished the app to the server, and the web application fails to start.
The error message in the browser says "HTTP Error 502.5 - Process Failure". The Windows event log (Application log) says "Failed to start process with commandline '"dotnet" .\EssBot.dll', ErrorCode = '0x80004005'." I followed the Common Errors section of the ASP.NET Core documentation, publishing to IIS. Everything looks correct. C:\Program Files\dotnet is in the %PATH%, the file names and paths are correct and files exist.
What's wrong with this? Do I need to restart with a new VS project from scratch every time a new ASP.NET Core version comes out?