Remove main resource deletion in code generation stage (#3098)

This commit is contained in:
AlexanderZemlyak 2024-04-23 20:54:00 +03:00 committed by GitHub
parent 9f9c2a85bd
commit 0b7997d691
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2122,7 +2122,7 @@ namespace PascalABCCompiler
if (project.ProjectType == ProjectType.WindowsApp)
compilerOptions.target = NETGenerator.TargetType.WinExe;
// возможно, требуется переименование EVA
// при использовании учесть удаление res_file из этой функции при кодогенерации EVA
// CreateRCFile(compilerOptions);
}
}
@ -2528,9 +2528,6 @@ namespace PascalABCCompiler
CodeGeneratorsController.EmitAssemblyRedirects(
assemblyResolveScope,
CompilerOptions.OutputFileName);
if (compilerOptions.MainResourceFileName != null)
File.Delete(compilerOptions.MainResourceFileName);
}
}