I have a solution that builds fine in VS2015. I just installed VS2017 RTM and after conversion, attempts to build the solution fail immediately with the error:
I also had this problem with all of my VS2015 (aka project.json) - projects.
Deleting the .vs folder didn't solve the problem.
I finally come up with disabling the "lightweight solutions load" checkbox under Tools -> Options -> Projects and Solutions -> Lightweight solution load for all solutions