Skip to content

DocumentAutoConfigurationClasses should delete the contents of its output directory before writing new files #46970

@wilkinsona

Description

@wilkinsona

If auto-configuration classes are deleted, DocumentAutoConfigurationClasses will run again, but, because it doesn't delete the contents of its output directory before writing new files, the old generated files will remain. This can then cause a build failure as the files reference classes that no longer exist. To avoid this, the contents of the output directory should be deleted before new files are written.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions