Skip to content

Commit

Permalink
Update to Unified Build controls (dotnet#1992)
Browse files Browse the repository at this point in the history
* Update to Unified Build controls

* Update Build.props
  • Loading branch information
mmitche authored and radical committed Feb 6, 2024
1 parent daceb20 commit 051d2c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/Build.props
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project>
<ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true'">
<ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true' and '$(DotNetBuildSourceOnly)' != 'true'">
<ProjectToBuild Include="$(RepoRoot)src\**\*.csproj" Exclude="$(RepoRoot)src\Aspire.ProjectTemplates\templates\**\*.csproj" />
<ProjectToBuild Include="$(RepoRoot)tests\**\*.csproj" />
<ProjectToBuild Include="$(RepoRoot)samples\**\*.csproj" />
</ItemGroup>
<!-- If we are building for SourceBuild, then we only want to build the Aspire manifest package -->
<ItemGroup Condition="'$(DotNetBuildFromSource)' == 'true'">
<ItemGroup Condition="'$(DotNetBuildFromSource)' == 'true' or '$(DotNetBuildSourceOnly)' == 'true'">
<ProjectToBuild Include="$(RepoRoot)src\Microsoft.NET.Sdk.Aspire\Microsoft.NET.Sdk.Aspire.csproj" />
</ItemGroup>
</Project>

0 comments on commit 051d2c2

Please sign in to comment.