public static string createProjectFile_and_Build(this string projectName, string sourceFile, string pathToAssemblies, string targetDir, List<string> extraEmbebbedResources, Panel panel) { var createdExe = projectName.createProjectFile_and_Build(sourceFile, pathToAssemblies, targetDir, extraEmbebbedResources); panel.showProjectBuildResult(projectName, targetDir, createdExe.valid()); return createdExe; }