On my case, i Noticed that the "build" folder was not present in "packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0" path. And that was the reason why the roslyn folder was not beeing created.
So the solution for me was:
- Clean solution
- Go to Nuget Package Manager
- Uninstall Microsoft.CodeDom.Providers.DotNetCompilerPlatform
- Clean solution
- Install Microsoft.CodeDom.Providers.DotNetCompilerPlatform again from Nuget package manager.
- Clean/Rebuild
And there you go. None of the solution above worked for me . Hope this helps anyone