Too late for an answer but still posting incase it helps anyone.
Following the below steps fixed the error for me:
- delete packages folder
- open VS
- rebuild
- observe that NuGet packages are restored, but bin\roslyn isnt created
- unload project
- reload project
- rebuild
- observe that the bin\roslyn has been created now.