Rename publish.proj to merge-asset-manifests.proj (#19561)
This commit is contained in:
parent
e99dabfa3f
commit
c8b1046580
4 changed files with 5 additions and 4 deletions
|
@ -22,8 +22,8 @@
|
|||
<ProjectReference Include="$(RepoProjectsDir)$(RootRepo).proj" />
|
||||
|
||||
<!-- Post-build: Source-only validation, packaging and publishing -->
|
||||
<ProjectReference Include="$(RepositoryEngineeringDir)merge-asset-manifests.proj" />
|
||||
<ProjectReference Include="$(RepositoryEngineeringDir)finish-source-only.proj" Condition="'$(DotNetBuildSourceOnly)' == 'true'" />
|
||||
<ProjectReference Include="$(RepositoryEngineeringDir)publish.proj" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PrintInfo">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="$(TasksDir)Microsoft.DotNet.UnifiedBuild.Tasks\Microsoft.DotNet.UnifiedBuild.Tasks.csproj" />
|
||||
<ProjectReference Include="$(TasksDir)Microsoft.DotNet.SourceBuild.Tasks.LeakDetection\Microsoft.DotNet.SourceBuild.Tasks.LeakDetection.csproj" />
|
||||
<ProjectReference Include="$(RepositoryEngineeringDir)publish.proj" />
|
||||
<ProjectReference Include="$(RepositoryEngineeringDir)merge-asset-manifests.proj" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- After building, generate a prebuilt usage report. -->
|
||||
|
|
|
@ -11,11 +11,12 @@
|
|||
<!-- Create a merge manifest from the individual repository manifest files. -->
|
||||
<UsingTask TaskName="Microsoft.DotNet.UnifiedBuild.Tasks.MergeAssetManifests" AssemblyFile="$(MicrosoftDotNetUnifiedBuildTasksAssembly)" TaskFactory="TaskHostFactory" />
|
||||
<Target Name="MergeAssetManifests" AfterTargets="Build">
|
||||
|
||||
<ItemGroup>
|
||||
<RepoAssetManifest Include="$(AssetManifestsIntermediateDir)\**\*.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="Couldn't find any repository asset manifest file. Make sure to build the repositories before invoking this target." Condition="'@(RepoAssetManifest)' == ''" />
|
||||
|
||||
<!-- It's OK for the VmrBuildNumber to be empty -->
|
||||
<Microsoft.DotNet.UnifiedBuild.Tasks.MergeAssetManifests
|
||||
AssetManifest="@(RepoAssetManifest)"
|
|
@ -11,7 +11,7 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" />
|
||||
<PackageReference Include="NuGet.Protocol" />
|
||||
<ProjectReference Include="$(RepositoryEngineeringDir)publish.proj" ReferenceOutputAssembly="false" PrivateAssets="all" />
|
||||
<ProjectReference Include="$(RepositoryEngineeringDir)merge-asset-manifests.proj" ReferenceOutputAssembly="false" PrivateAssets="all" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in a new issue