Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/PowerShell/PowerShell.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya <darpa@yandex.ru>2022-10-11 21:50:16 +0300
committerGitHub <noreply@github.com>2022-10-11 21:50:16 +0300
commitdd3a6a10d4e835f4d2d442623b1d93123a4ae9bb (patch)
tree33f0a5965d0901c625119e6ba1e5a37be4b1c98d /PowerShell.Common.props
parentdd40b59f140823523bd3c0dbad29b3f8938eb188 (diff)
Use source generator for `PSVersionInfo` to improve startup time (#15603)
Diffstat (limited to 'PowerShell.Common.props')
-rw-r--r--PowerShell.Common.props3
1 files changed, 3 insertions, 0 deletions
diff --git a/PowerShell.Common.props b/PowerShell.Common.props
index 5e7e41f147..8f784ede51 100644
--- a/PowerShell.Common.props
+++ b/PowerShell.Common.props
@@ -104,6 +104,9 @@
</PropertyGroup>
+ <!-- Remove existing generated files by source generators because new source code will soon be generated when the build starts -->
+ <RemoveDir Directories="gen\SourceGenerated" Condition="Exists('gen\SourceGenerated')" />
+
<!-- Output For Debugging
<WriteLinesToFile File="targetfile1.txt"
Lines="ReleaseTag=$(ReleaseTag);