未能找到路径“E:\xx\bin\roslyn\csc.exe”(随手笔记)

问题:未能找到路径“E:\xx\bin\roslyn\csc.exe”在这里插入图片描述

解决方案:

方案1:
先我们要先在VS,NuGet程序包里引用:
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
Microsoft.Net.Compilers.dll

方案2:
bin文件夹里又没有生成roslyn相关的文件,那就从别的项目拷贝一份就行

发布了25 篇原创文章 · 获赞 5 · 访问量 905

猜你喜欢

转载自blog.csdn.net/qq_41863998/article/details/103493676
今日推荐