From 31acaccc500239367916a0800c8cda32f34edb22 Mon Sep 17 00:00:00 2001
From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
Date: Fri, 17 Apr 2026 18:39:17 +0100
Subject: [PATCH] Net: Prepare Foundry Preview Release (#5336)
* Prepare Foundry preview release 1.2.0-preview.*
Bump VersionPrefix to 1.2.0 and update the preview stamp date. Invert packaging opt-in so only the Foundry preview set produces NuGet packages:
- Microsoft.Agents.AI.Abstractions
- Microsoft.Agents.AI
- Microsoft.Agents.AI.Workflows
- Microsoft.Agents.AI.Workflows.Generators
- Microsoft.Agents.AI.Foundry
Flip IsReleased=false on the preview set so they pick up the -preview.YYMMDD.N suffix. Gate GeneratePackageOnBuild on IsPackable=true. Remove the global IsPackable=true from nuget-package.props so the repo-level default (false) applies to everything else.
* Lower preview VersionPrefix to 0.0.1
Retroactive preview publish: bump VersionPrefix and GitTag from 1.2.0 to 0.0.1 so the 5 Foundry preview packages emit as 0.0.1-preview.260417.1.
---
dotnet/nuget/nuget-package.props | 14 ++++++++------
.../Microsoft.Agents.AI.Abstractions.csproj | 7 ++++++-
.../Microsoft.Agents.AI.Foundry.csproj | 7 ++++++-
...Microsoft.Agents.AI.Workflows.Generators.csproj | 7 ++++++-
.../Microsoft.Agents.AI.Workflows.csproj | 7 ++++++-
.../Microsoft.Agents.AI/Microsoft.Agents.AI.csproj | 7 ++++++-
6 files changed, 38 insertions(+), 11 deletions(-)
diff --git a/dotnet/nuget/nuget-package.props b/dotnet/nuget/nuget-package.props
index 9d91eebf28..d619ac6c9f 100644
--- a/dotnet/nuget/nuget-package.props
+++ b/dotnet/nuget/nuget-package.props
@@ -1,16 +1,18 @@
- 1.1.0
+ 0.0.1
1
$(VersionPrefix)-rc$(RCNumber)
- $(VersionPrefix)-$(VersionSuffix).260410.1
- $(VersionPrefix)-preview.260410.1
+ $(VersionPrefix)-$(VersionSuffix).260417.1
+ $(VersionPrefix)-preview.260417.1
$(VersionPrefix)
- 1.1.0
+ 0.0.1
Debug;Release;Publish
- true
+
+
+
1.0.0
@@ -70,7 +72,7 @@
-
+
true
diff --git a/dotnet/src/Microsoft.Agents.AI.Abstractions/Microsoft.Agents.AI.Abstractions.csproj b/dotnet/src/Microsoft.Agents.AI.Abstractions/Microsoft.Agents.AI.Abstractions.csproj
index 9f5668c812..4bf1eb9d54 100644
--- a/dotnet/src/Microsoft.Agents.AI.Abstractions/Microsoft.Agents.AI.Abstractions.csproj
+++ b/dotnet/src/Microsoft.Agents.AI.Abstractions/Microsoft.Agents.AI.Abstractions.csproj
@@ -3,7 +3,7 @@
Microsoft.Agents.AI
$(NoWarn);MEAI001
- true
+ false
@@ -20,6 +20,11 @@
+
+
+ true
+
+
Microsoft Agent Framework Abstractions
diff --git a/dotnet/src/Microsoft.Agents.AI.Foundry/Microsoft.Agents.AI.Foundry.csproj b/dotnet/src/Microsoft.Agents.AI.Foundry/Microsoft.Agents.AI.Foundry.csproj
index e3c1773941..67c069cb5b 100644
--- a/dotnet/src/Microsoft.Agents.AI.Foundry/Microsoft.Agents.AI.Foundry.csproj
+++ b/dotnet/src/Microsoft.Agents.AI.Foundry/Microsoft.Agents.AI.Foundry.csproj
@@ -1,7 +1,7 @@
- true
+ false
true
$(NoWarn);OPENAI001;MEAI001;NU1903
false
@@ -9,6 +9,11 @@
+
+
+ true
+
+
diff --git a/dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Microsoft.Agents.AI.Workflows.Generators.csproj b/dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Microsoft.Agents.AI.Workflows.Generators.csproj
index 765de06c7b..fbaa90cb2c 100644
--- a/dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Microsoft.Agents.AI.Workflows.Generators.csproj
+++ b/dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Microsoft.Agents.AI.Workflows.Generators.csproj
@@ -29,11 +29,16 @@
- true
+ false
+
+
+ true
+
+
Microsoft Agent Framework Workflows Source Generators
diff --git a/dotnet/src/Microsoft.Agents.AI.Workflows/Microsoft.Agents.AI.Workflows.csproj b/dotnet/src/Microsoft.Agents.AI.Workflows/Microsoft.Agents.AI.Workflows.csproj
index 032314c657..51119bbc63 100644
--- a/dotnet/src/Microsoft.Agents.AI.Workflows/Microsoft.Agents.AI.Workflows.csproj
+++ b/dotnet/src/Microsoft.Agents.AI.Workflows/Microsoft.Agents.AI.Workflows.csproj
@@ -1,7 +1,7 @@
- true
+ false
$(NoWarn);MEAI001
@@ -14,6 +14,11 @@
+
+
+ true
+
+
Microsoft Agent Framework Workflows
diff --git a/dotnet/src/Microsoft.Agents.AI/Microsoft.Agents.AI.csproj b/dotnet/src/Microsoft.Agents.AI/Microsoft.Agents.AI.csproj
index 10e92850d5..428385cadf 100644
--- a/dotnet/src/Microsoft.Agents.AI/Microsoft.Agents.AI.csproj
+++ b/dotnet/src/Microsoft.Agents.AI/Microsoft.Agents.AI.csproj
@@ -1,7 +1,7 @@
- true
+ false
$(NoWarn);MEAI001;MAAI001
@@ -17,6 +17,11 @@
+
+
+ true
+
+