我使用包管理器安装了nuget包,并且:
Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
(来自https://www.nuget.org/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform)
但是当我去打电话时:
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider上的CompileAssemblyFromFile
我收到以下错误消息:
Could not find a part of the path 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\bin\\roslyn\\csc.exe'