C# CodeDom Multiple CompilerOptions -
i add multiple compileroptions codedom, cannot figure out how so.
what trying:
compilerparameters cp = new compilerparameters(referencedassemblies, "executable file path", false); cp.compileroptions = "/unsafe"; cp.compileroptions = "/t:winexe";
the issue latter of 2 parameters being incorporated output executable file. there way add compileroptions parameters array?
thank help,
evan
based on usage i'm guessing can like
cp.compileroptions = "/unsafe /t:winexe";
if wanted build string in array need loop on array holds compiler options , append them string. assign string cp.compileroptions
Comments
Post a Comment