找不到路徑的一部分... 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
相關文章
相關標籤/搜索