From f1e5aea16ef0a24706867c70f7044f40ff41c3f2 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 17 Jan 2024 15:10:07 +0100 Subject: [PATCH 1/2] fix: build with --output without trailing slash --- src/Playwright/build/Microsoft.Playwright.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Playwright/build/Microsoft.Playwright.targets b/src/Playwright/build/Microsoft.Playwright.targets index 8e6691611e..480688c40b 100644 --- a/src/Playwright/build/Microsoft.Playwright.targets +++ b/src/Playwright/build/Microsoft.Playwright.targets @@ -59,7 +59,7 @@ - <_PlaywrightChmodItems Include="$(OutputPath).playwright\node\*\node" /> + <_PlaywrightChmodItems Include="$([MSBuild]::EnsureTrailingSlash('$(OutputPath)')).playwright\node\*\node" /> <_PlaywrightChmodItems Include="$(PublishDir).playwright\node\*\node" /> From d4939cc41ed6c24758ba954a513ec98bb535c589 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 17 Jan 2024 15:57:29 +0100 Subject: [PATCH 2/2] Update src/Playwright/build/Microsoft.Playwright.targets Co-authored-by: campersau --- src/Playwright/build/Microsoft.Playwright.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Playwright/build/Microsoft.Playwright.targets b/src/Playwright/build/Microsoft.Playwright.targets index 480688c40b..8438f23453 100644 --- a/src/Playwright/build/Microsoft.Playwright.targets +++ b/src/Playwright/build/Microsoft.Playwright.targets @@ -60,7 +60,7 @@ <_PlaywrightChmodItems Include="$([MSBuild]::EnsureTrailingSlash('$(OutputPath)')).playwright\node\*\node" /> - <_PlaywrightChmodItems Include="$(PublishDir).playwright\node\*\node" /> + <_PlaywrightChmodItems Include="$([MSBuild]::EnsureTrailingSlash('$(PublishDir)')).playwright\node\*\node" />