.Net报错Could not find a part of the path bin\roslyn\csc.exe
用vs2022打开后build能成功,但是在IIS里运行的时候会报错:Server Error in '/' Application. Could not find a part of the path '...\bin\roslyn\csc.exe'.
2022-11-09 2203 0
Roslyn脚本化C#代码CSharpScript使用方法
Roslyn 是微软公司开源的 .NET 编译器。编译器支持 C# 和 Visual Basic 代码编译,并提供丰富的代码分析 API。Roslyn不仅仅可以直接编译输出,难能可贵的就是上述描述中的开放了编译的API,使得代码脚本化成为了可能。
2020-08-10 8360 0