[release/6.0] Clear layout directories before copies (#37119)
- backport of #36719 Clear layout directories before copies (#36719) - `<Copy />` task (well, most tasks though not `tar` commands) will create directories - avoid leftover files from a previous build - avoid confusing SDK with an empty targeting pack directory - prevented ASP.NET targeting pack download when not building it (see #36718)
想要评论请 注册 或 登录