找不到路徑 \bin\roslyn\csc.exe
如果確認專案中不需要使用到 Roslyn,可以透過 Nuget 刪除它
- 開啟Nuget Console,輸入以下指令
PM> Uninstall-package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
PM> Uninstall-package Microsoft.Net.Compilers
Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r
留言
張貼留言