-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This PR has changes to prepare the `playground/` apps to be run as part of future tests in `Aspire.Playground.Tests`. The changes follow these broad patterns: - remove all the per-project `Directory.Build.{props,targets}`, and instead of these .. - .. add root `Directory.Build.{props,targets}` and use `Aspire.RepoTesting.*` - And update all the playground projects to use `AspireProjectOrPackageReference` instead of `ProjectReference` - `Aspire.Hosting.Testing` expects to identify AppHost assemblies by a name ending in `.AppHost`. - rename some projects that don't follow that convention. - Update the apps to use `Aspire.RepoTesting*` which allows building outside of repo. - Address review feedbacks from @ eerhardt
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.targets', '$(MSBuildThisFileDirectory)../'))" /> | ||
|
||
<ItemGroup Condition="'$(BuildForTest)' != 'true' and '$(IsAspireHost)' == 'true' and '$(SkipDashboardProjectReference)' != 'true'"> | ||
<ProjectReference Include="$(RepoRoot)src\Aspire.Dashboard\Aspire.Dashboard.csproj" /> | ||
</ItemGroup> | ||
|
||
<!-- When $(BuildForTest)==true, importing Aspire.RepoTesting.targets is needed. But import | ||
only when in-repo. For the out-of-repo case a parent Directory.Build.targets does the import --> | ||
<Import Project="$(TestsSharedRepoTestingDir)Aspire.RepoTesting.targets" Condition="'$(RepoRoot)' != '' and '$(BuildForTest)' != 'true'" /> | ||
</Project> |
This file was deleted.
This file was deleted.