Could not find a part of the path ... bin oslyncsc.exe
Asked 07 September, 2021
Viewed 3.1K times
  • 56
Votes

I am trying to run Asp.net MVC project retrieved from TFS source control. I have added all assembly references and I am able to build and compile successfully without any error or warning.

But I get the following error in the browser:


  

Could not find a part of the path 'C:B8akWorkspaceB8akProjectB8akSolutionB8AK.Portalin oslyncsc.exe'.

Here is a full screenshot of the error page.

enter image description here

After few days of research, I understood that Roslyn is .Net compiler platform that offers advance compiling features. However, I do not understand why my build is trying to find in oslyncsc.exe because I did not configure anything related to Roslyn nor I intend to use Roslyn in my project.

30 Answer