diff --git a/tests/Aspire.EndToEnd.Tests/Aspire.EndToEnd.Tests.csproj b/tests/Aspire.EndToEnd.Tests/Aspire.EndToEnd.Tests.csproj
index db6f35e45c..0f9b54e669 100644
--- a/tests/Aspire.EndToEnd.Tests/Aspire.EndToEnd.Tests.csproj
+++ b/tests/Aspire.EndToEnd.Tests/Aspire.EndToEnd.Tests.csproj
@@ -15,8 +15,7 @@
false
testassets\testproject\
-
- <_BuildForTestsRunningOutsideOfRepo Condition="'$(ContinuousIntegrationBuild)' == 'true'">true
+ <_BuildForTestsRunningOutsideOfRepo Condition="'$(TestsRunningOutsideOfRepo)' == 'true' or '$(ContinuousIntegrationBuild)' == 'true'">true
$(_BuildForTestsRunningOutsideOfRepo)
BUILD_FOR_TESTS_RUNNING_OUTSIDE_OF_REPO;$(DefineConstants)
diff --git a/tests/Aspire.EndToEnd.Tests/README.md b/tests/Aspire.EndToEnd.Tests/README.md
index 81957e2d96..95e894d81f 100644
--- a/tests/Aspire.EndToEnd.Tests/README.md
+++ b/tests/Aspire.EndToEnd.Tests/README.md
@@ -8,7 +8,7 @@
### Using it from VS
-- For switching to `outside-of-repo` add `true` to `tests/Aspire.EndToEnd.Tests/Directory.Build.props` *before* any imports.
+- For switching to `outside-of-repo` set `<_BuildForTestsRunningOutsideOfRepo>true` in the project file.
- tests cannot be run at this point as they will fail complaining about `artifacts/bin/dotnet-latest` being missing
- Install the sdk+workload following the steps above
- Run/debug the tests normally now, and they will be using the sdk