/// <param name="solutionWithFiles">the solution with template files loaded</param>
/// <param name="codeTemplate">the correct code template (same plang id as solution) with loaded template files</param>
/// <param name="applyTemplateFileVisibilityResetToEmpty">true: to apply template content visibility and set the content to the template string</param>
/// <param name="applyTemplateFileVisibilityResetToTemplateContent">true: to apply template content and reset the content to the template content (only applied when applyTemplateFileVisibilityResetToEmpty is false)</param>
/// <param name="applyTemplateFileVisibilityResetToTemplateContent">true: to apply template content and reset the content to the template content (only applied when applyTemplateFileVisibilityResetToEmpty is false)
/// (this has higher priority tahn applyTemplateFileVisibilityResetToEmpty!)</param>
/// <param name="applyTemplateFileVisibilityResetToEmpty">true: to apply template content visibility and set the content to the template string</param>
/// <param name="applyTemplateFileVisibilityResetToTemplateContent">true: to apply template content and reset the content to the template content (only applied when applyTemplateFileVisibilityResetToEmpty is false)</param>
/// <param name="applyTemplateFileVisibilityResetToTemplateContent">true: to apply template content and reset the content to the template content (only applied when applyTemplateFileVisibilityResetToEmpty is false)
/// (this has higher priority tahn applyTemplateFileVisibilityResetToEmpty!)</param>