From 7d33283fb83c84af9354b364d4f4259366265b55 Mon Sep 17 00:00:00 2001 From: Prathik Rao Date: Fri, 8 May 2026 10:47:33 -0700 Subject: [PATCH 1/3] add core dep --- sdk/cs/src/Microsoft.AI.Foundry.Local.csproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj b/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj index 384b44151..e451196df 100644 --- a/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj +++ b/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj @@ -103,6 +103,10 @@ $([System.Text.RegularExpressions.Regex]::Match('$(_DepsVersionsJson)', '"nuget"\s*:\s*"([^"]+)"').Groups[1].Value) + + + + From c67f0eee95499d6e780d1de0b61aaaddf378dcfe Mon Sep 17 00:00:00 2001 From: Prathik Rao Date: Fri, 8 May 2026 10:58:10 -0700 Subject: [PATCH 2/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- sdk/cs/src/Microsoft.AI.Foundry.Local.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj b/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj index e451196df..67877c962 100644 --- a/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj +++ b/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj @@ -103,7 +103,7 @@ $([System.Text.RegularExpressions.Regex]::Match('$(_DepsVersionsJson)', '"nuget"\s*:\s*"([^"]+)"').Groups[1].Value) - + From 061b8180b3974e0e241471573d25451aad7e8fcc Mon Sep 17 00:00:00 2001 From: Prathik Rao Date: Fri, 8 May 2026 14:31:17 -0700 Subject: [PATCH 3/3] empty rid --- .pipelines/templates/build-cs-steps.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pipelines/templates/build-cs-steps.yml b/.pipelines/templates/build-cs-steps.yml index 8d2893532..09f2235b3 100644 --- a/.pipelines/templates/build-cs-steps.yml +++ b/.pipelines/templates/build-cs-steps.yml @@ -122,9 +122,11 @@ steps: inputs: targetType: inline script: | + # empty RuntimeIdentifier prevents host machine from auto-injecting its RID into the build dotnet build "$(repoRoot)/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj" ` --no-restore --configuration Release ` - /p:UseWinML=${{ parameters.isWinML }} + /p:UseWinML=${{ parameters.isWinML }} ` + /p:RuntimeIdentifier="" if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } # Discover target framework directory