Skip to content

Commit c11f319

Browse files
committed
[release/6.0] Work around #41937
- unset `ASPNETCORE_ENVIRONMENT` on Helix agents
1 parent acdbf3e commit c11f319

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

eng/helix/content/runtests.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ set InstallPlaywright=%$installPlaywright%
1818
set PLAYWRIGHT_BROWSERS_PATH=%CD%\ms-playwright
1919
set PLAYWRIGHT_DRIVER_PATH=%CD%\.playwright\win-x64\native\playwright.cmd
2020

21+
REM Avoid https://github.com/dotnet/aspnetcore/issues/41937 in current session.
22+
set ASPNETCORE_ENVIRONMENT=
23+
2124
set "PATH=%HELIX_WORKITEM_ROOT%;%PATH%;%HELIX_WORKITEM_ROOT%\node\bin"
2225
echo Set path to: "%PATH%"
2326
echo.

eng/helix/content/runtests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1313
export DOTNET_MULTILEVEL_LOOKUP=0
1414
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
1515

16+
# Avoid https://github.com/dotnet/aspnetcore/issues/41937 in current session.
17+
unset ASPNETCORE_ENVIRONMENT
18+
1619
export PATH="$PATH:$DIR:$DIR/node/bin"
1720

1821
# Set playwright stuff

0 commit comments

Comments
 (0)