Skip to content

.NET: Enable Microsoft.Agents.AI.FoundryMemory for NuGet release - #4559

Merged
Roger Barreto (rogerbarreto) merged 5 commits into
microsoft:mainfrom
rogerbarreto:issues/foundry-memory-package-release-enablement
Mar 10, 2026
Merged

.NET: Enable Microsoft.Agents.AI.FoundryMemory for NuGet release#4559
Roger Barreto (rogerbarreto) merged 5 commits into
microsoft:mainfrom
rogerbarreto:issues/foundry-memory-package-release-enablement

Conversation

@rogerbarreto

Copy link
Copy Markdown
Member

Motivation and Context

Enable Release of Package Microsoft.Agents.AI.FoundryMemory.

  • Remove IsPackable=false override from .csproj to inherit IsPackable=true from nuget-package.props
  • Add project to agent-framework-release.slnf for inclusion in build/sign/publish pipeline

- Remove IsPackable=false override from .csproj to inherit IsPackable=true from nuget-package.props
- Add project to agent-framework-release.slnf for inclusion in build/sign/publish pipeline
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CopilotAI review requested due to automatic review settings March 9, 2026 14:29
@markwallace-microsoftMark Wallace (markwallace-microsoft) added the .NET Usage: [Issues, PRs], Target: .Net label Mar 9, 2026
@github-actionsgithub-actionsBot changed the title .Net: Enable Microsoft.Agents.AI.FoundryMemory for NuGet release.NET: Enable Microsoft.Agents.AI.FoundryMemory for NuGet releaseMar 9, 2026

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables NuGet packaging and release pipeline inclusion for Microsoft.Agents.AI.FoundryMemory, aligning it with the repo’s standard nuget-package.props packaging configuration.

Changes:

  • Removed the IsPackable=false override so the project inherits IsPackable=true from dotnet/nuget/nuget-package.props.
  • Added Microsoft.Agents.AI.FoundryMemory.csproj to dotnet/agent-framework-release.slnf to include it in build/sign/publish.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
dotnet/src/Microsoft.Agents.AI.FoundryMemory/Microsoft.Agents.AI.FoundryMemory.csprojRemoves the explicit opt-out from packing so the project becomes packable via shared NuGet props.
dotnet/agent-framework-release.slnfIncludes FoundryMemory in the release solution filter used by the release pipeline.

- StoreAIContextAsync fires UpdateMemoriesAsync immediately (non-accumulation)
- WhenUpdatesCompletedAsync polls last updateId via GetUpdateResultAsync
- Updated FoundryAgents_Step22_MemorySearch sample to create/destroy memory store
(matching features/foundry-agent-client pattern)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Sample now creates/destroys memory store (self-contained lifecycle)
- Uses WaitForMemoriesUpdateAsync for seeding memories
- Cleanup in finally block deletes both agent and memory store
- Matches features/foundry-agent-client pattern
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks Mar 9, 2026
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks Mar 9, 2026
CopilotAI review requested due to automatic review settings March 10, 2026 13:25
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NETUsage: [Issues, PRs], Target: .Net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@rogerbarreto@SergeyMenshykh@peibekwe@westey-m@markwallace-microsoft