public CompilerResults CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames)
{
//System.Diagnostics.Debug.Assert(false);
foreach (string file in fileNames)
if (file.ToLower().EndsWith(".xaml"))
return CompileAssemblyFromFileBatchImpl(options, fileNames);
if (version == "" || version == null)
return new CSharpCodeProvider().CreateCompiler().CompileAssemblyFromFileBatch(options, fileNames);
else
return new CSharpCodeProvider(new Dictionary<string, string>() { { "CompilerVersion", version } }).CreateCompiler().CompileAssemblyFromFileBatch(options, fileNames);
}
//static bool appIncluded = false;