diff --git a/src/SourceBuild/content/repo-projects/Directory.Build.targets b/src/SourceBuild/content/repo-projects/Directory.Build.targets index 6eba35815..9242a2f51 100644 --- a/src/SourceBuild/content/repo-projects/Directory.Build.targets +++ b/src/SourceBuild/content/repo-projects/Directory.Build.targets @@ -33,7 +33,6 @@ - @@ -419,6 +418,15 @@ + + + + $([MSBuild]::NormalizeDirectory('$(ProjectDirectory)', 'artifacts', 'buildLogs')) $([MSBuild]::NormalizeDirectory('$(ProjectDirectory)', 'artifacts', 'buildObj')) diff --git a/src/SourceBuild/patches/winforms/0001-Don-t-error-when-file-copy-fails-due-to-locking-unti.patch b/src/SourceBuild/patches/winforms/0001-Don-t-error-when-file-copy-fails-due-to-locking-unti.patch new file mode 100644 index 000000000..6763d4e9a --- /dev/null +++ b/src/SourceBuild/patches/winforms/0001-Don-t-error-when-file-copy-fails-due-to-locking-unti.patch @@ -0,0 +1,26 @@ +From a91eef2a8e4c53f4674b24ff162622f3c80c054d Mon Sep 17 00:00:00 2001 +From: Jeremy Koritzinsky +Date: Fri, 9 Feb 2024 10:59:55 -0800 +Subject: [PATCH] Don't error when file copy fails due to locking until all the + backoffs have failed + +Backport: https://github.com/dotnet/winforms/pull/10858 +--- + eng/SourceBuild.props | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props +index 0d0194fb6..e951a31a0 100644 +--- a/eng/SourceBuild.props ++++ b/eng/SourceBuild.props +@@ -4,5 +4,6 @@ + + winforms + true ++ $(InnerBuildArgs) -warnNotAsError:MSB3026 + + +\ No newline at end of file +-- +2.43.0.windows.1 +