From 90ec9c2df3b23eaa942ad67b29fb9a18ca7b0c81 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Tue, 21 Apr 2026 16:49:04 -0700 Subject: [PATCH] Fix BuildWorkloadMsis failure by explicitly packing manifests in graph mode The Traversal SDK's Pack target in manifest-packages.csproj has a condition that skips execution when IsGraphBuild=true, relying on the graph scheduler to dispatch Pack to child .Manifest.proj projects via ProjectReferenceTargets. However, the graph builder does not discover these child projects, so the manifest nupkg files are never produced, causing BuildWorkloadMsis to fail with 'Could not find expected manifest packages'. Add a _PackManifestPackages target that explicitly invokes Pack on manifest-packages.csproj with RemoveProperties=IsGraphBuild so the Traversal SDK's Pack target executes normally. This target only runs in graph build mode; non-graph builds continue to work via the existing ProjectReference. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/Workloads/VSInsertion/workloads.csproj | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Workloads/VSInsertion/workloads.csproj b/src/Workloads/VSInsertion/workloads.csproj index 795d4a1a117c..05cb24501d9a 100644 --- a/src/Workloads/VSInsertion/workloads.csproj +++ b/src/Workloads/VSInsertion/workloads.csproj @@ -208,6 +208,19 @@ UseHardlinksIfPossible="true" /> + + + + +