📜  System.PlatformNotSupportedException 编译器 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:10.850000             🧑  作者: Mango

代码示例1
var compilerParameters = new CompilerParameters();
var netstandard = Assembly.Load("netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51");
compilerParameters.ReferencedAssemblies.Add(netstandard.Location);