I got this following error while running the asp.net mvc project Could not find a part of the path '...\bin\roslyn\csc.exe'.

Solution:
To Resolve this problem open Package manager console and enter the following command and press enter.
Tools > Nuget Package Manager > Package Manager Console

Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r
VIDEO GUIDE: