找不到路径的一部分... bin \\ roslyn \\ csc.exe - Could not find a part of the path … bin\roslyn\csc.exe

问题:

I am trying to run Asp.net MVC project retrieved from TFS source control. 我正在尝试运行从TFS源代码控制检索的Asp.net MVC项目。 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: 可是我在浏览器中收到如下错误: ui

Could not find a part of the path 'C:\\B8akWorkspace\\B8akProject\\B8akSolution\\B8AK.Portal\\bin\\roslyn\\csc.exe'. 找不到路径“ C:\\ B8akWorkspace \\ B8akProject \\ B8akSolution \\ B8AK.Portal \\ bin \\ roslyn \\ csc.exe”的一部分。 spa

Here is a full screenshot of the error page. 这是错误页面的完整屏幕截图。 .net

在此处输入图片说明

After few days of research, I understood that Roslyn is .Net compiler platform that offers advance compiling features. 通过几天的研究,我了解到Roslyn是.Net编译器平台,可提供高级编译功能。 However, I do not understand why my build is trying to find \\bin\\roslyn\\csc.exe because I did not configure anything related to Roslyn nor I intend to use Roslyn in my project. 可是,我不明白为何个人版本试图查找\\ bin \\ roslyn \\ csc.exe,由于我没有配置与Roslyn相关的任何内容,也不打算在项目中使用Roslyn。 code


解决方案:

参考一: https://stackoom.com/question/2DXel/找不到路径的一部分-bin-roslyn-csc-exe
参考二: https://oldbug.net/q/2DXel/Could-not-find-a-part-of-the-path-bin-roslyn-csc-exe
相关文章
相关标签/搜索