Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
radical committed Jul 16, 2024
1 parent 6a7997f commit b591ceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/Aspire.EndToEnd.Tests/Aspire.EndToEnd.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
<IncludeTestPackages>false</IncludeTestPackages>
<DeployOutsideOfRepoSupportFilesDir>testassets\testproject\</DeployOutsideOfRepoSupportFilesDir>

<!-- FIXME: update README.md -->
<_BuildForTestsRunningOutsideOfRepo Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</_BuildForTestsRunningOutsideOfRepo>
<_BuildForTestsRunningOutsideOfRepo Condition="'$(TestsRunningOutsideOfRepo)' == 'true' or '$(ContinuousIntegrationBuild)' == 'true'">true</_BuildForTestsRunningOutsideOfRepo>
<DeployOutsideOfRepoSupportFiles>$(_BuildForTestsRunningOutsideOfRepo)</DeployOutsideOfRepoSupportFiles>
<DefineConstants Condition="'$(_BuildForTestsRunningOutsideOfRepo)' == 'true'">BUILD_FOR_TESTS_RUNNING_OUTSIDE_OF_REPO;$(DefineConstants)</DefineConstants>

Expand Down
2 changes: 1 addition & 1 deletion tests/Aspire.EndToEnd.Tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### Using it from VS

- For switching to `outside-of-repo` add `<TestsRunningOutsideOfRepo>true</TestsRunningOutsideOfRepo>` to `tests/Aspire.EndToEnd.Tests/Directory.Build.props` *before* any imports.
- For switching to `outside-of-repo` set `<_BuildForTestsRunningOutsideOfRepo>true</_BuildForTestsRunningOutsideOfRepo>` 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
Expand Down

0 comments on commit b591ceb

Please sign in to comment.