Skip to content

Commit d854ff6

Browse files
committed
[main] Work around #41937
- unset `ASPNETCORE_ENVIRONMENT` on Helix agents
1 parent f5ee9e3 commit d854ff6

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
@@ -15,6 +15,9 @@ set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
1515
set DOTNET_MULTILEVEL_LOOKUP=0
1616
set PLAYWRIGHT_BROWSERS_PATH=%CD%\ms-playwright
1717

18+
REM Avoid https://github.com/dotnet/aspnetcore/issues/41937 in current session.
19+
set ASPNETCORE_ENVIRONMENT=
20+
1821
set "PATH=%HELIX_WORKITEM_ROOT%;%PATH%;%HELIX_WORKITEM_ROOT%\node\bin"
1922
echo Set path to: "%PATH%"
2023
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)