From 9c74705c655b56effe568a7ddc1d5a5bc351a445 Mon Sep 17 00:00:00 2001 From: Chris Rickman Date: Wed, 18 Feb 2026 19:24:34 -0800 Subject: [PATCH 1/2] Ready? --- .../A2AClient/A2AClient.csproj | 2 +- .../A2AServer/A2AServer.csproj | 7 +- .../AGUIClient/AGUIClient.csproj | 2 +- .../AGUIDojoServer/AGUIDojoServer.csproj | 2 +- .../AGUIServer/AGUIServer.csproj | 2 +- .../Client/AGUIWebChatClient.csproj | 2 +- .../Server/AGUIWebChatServer.csproj | 2 +- .../AgentWebChat.AgentHost.csproj | 28 +-- .../AgentWebChat.AppHost.csproj | 2 +- .../AgentWebChat.ServiceDefaults.csproj | 4 +- .../AgentWebChat.Web/AgentWebChat.Web.csproj | 4 +- dotnet/samples/Directory.Build.props | 10 +- .../01_SingleAgent/01_SingleAgent.csproj | 2 +- .../02_AgentOrchestration_Chaining.csproj | 2 +- .../03_AgentOrchestration_Concurrency.csproj | 2 +- .../04_AgentOrchestration_Conditionals.csproj | 2 +- .../05_AgentOrchestration_HITL.csproj | 2 +- .../06_LongRunningTools.csproj | 2 +- .../07_AgentAsMcpTool.csproj | 2 +- .../08_ReliableStreaming.csproj | 2 +- .../01_SingleAgent/01_SingleAgent.csproj | 2 +- .../02_AgentOrchestration_Chaining.csproj | 2 +- .../03_AgentOrchestration_Concurrency.csproj | 2 +- .../04_AgentOrchestration_Conditionals.csproj | 2 +- .../05_AgentOrchestration_HITL.csproj | 2 +- .../06_LongRunningTools.csproj | 2 +- .../07_ReliableStreaming.csproj | 2 +- .../A2AAgent_AsFunctionTools.csproj | 5 +- .../A2AAgent_PollingForTaskCompletion.csproj | 4 +- .../Client/Client.csproj | 4 +- .../Server/Server.csproj | 2 +- .../Step02_BackendTools/Client/Client.csproj | 4 +- .../Step02_BackendTools/Server/Server.csproj | 2 +- .../Step03_FrontendTools/Client/Client.csproj | 4 +- .../Step03_FrontendTools/Server/Server.csproj | 2 +- .../Step04_HumanInLoop/Client/Client.csproj | 4 +- .../Step04_HumanInLoop/Server/Server.csproj | 2 +- .../Client/Client.csproj | 4 +- .../Server/Server.csproj | 2 +- .../AgentOpenTelemetry.csproj | 3 +- .../Agent_With_A2A/Agent_With_A2A.csproj | 3 +- .../Agent_With_Anthropic.csproj | 3 +- .../Agent_With_AzureAIAgentsPersistent.csproj | 3 +- .../Agent_With_AzureAIProject.csproj | 3 +- .../Agent_With_AzureFoundryModel.csproj | 3 +- ...gent_With_AzureOpenAIChatCompletion.csproj | 3 +- .../Agent_With_AzureOpenAIResponses.csproj | 3 +- .../Agent_With_CustomImplementation.csproj | 3 +- .../Agent_With_GitHubCopilot.csproj | 3 +- .../Agent_With_GoogleGemini.csproj | 3 +- .../Agent_With_ONNX/Agent_With_ONNX.csproj | 3 +- .../Agent_With_Ollama.csproj | 3 +- .../Agent_With_OpenAIAssistants.csproj | 3 +- .../Agent_With_OpenAIChatCompletion.csproj | 1 - .../Agent_With_OpenAIResponses.csproj | 3 +- .../Agent_Anthropic_Step01_Running.csproj | 1 - .../Agent_Anthropic_Step02_Reasoning.csproj | 1 - ...Anthropic_Step03_UsingFunctionTools.csproj | 1 - .../Agent_Anthropic_Step04_UsingSkills.csproj | 1 - ...WithMemory_Step01_ChatHistoryMemory.csproj | 3 +- ...ntWithMemory_Step02_MemoryUsingMem0.csproj | 3 +- ...AgentWithMemory_Step03_CustomMemory.csproj | 3 +- .../Agent_OpenAI_Step01_Running.csproj | 3 +- .../Agent_OpenAI_Step02_Reasoning.csproj | 5 +- ..._OpenAI_Step03_CreateFromChatClient.csproj | 3 +- ...ep04_CreateFromOpenAIResponseClient.csproj | 3 +- .../Agent_OpenAI_Step05_Conversation.csproj | 3 +- .../AgentWithRAG_Step01_BasicTextRAG.csproj | 3 +- ...WithRAG_Step02_CustomVectorStoreRAG.csproj | 5 +- ...tWithRAG_Step03_CustomRAGDataSource.csproj | 3 +- ...entWithRAG_Step04_FoundryServiceRAG.csproj | 3 +- .../Agent_Step01_Running.csproj | 3 +- .../Agent_Step02_MultiturnConversation.csproj | 3 +- .../Agent_Step03_UsingFunctionTools.csproj | 3 +- ...p04_UsingFunctionToolsWithApprovals.csproj | 3 +- .../Agent_Step05_StructuredOutput.csproj | 3 +- ...Agent_Step06_PersistedConversations.csproj | 3 +- ...t_Step07_3rdPartyChatHistoryStorage.csproj | 3 +- .../Agent_Step08_Observability.csproj | 3 +- .../Agent_Step09_DependencyInjection.csproj | 3 +- .../Agent_Step10_AsMcpTool.csproj | 4 +- .../Agent_Step11_UsingImages.csproj | 3 +- .../Agent_Step12_AsFunctionTool.csproj | 4 +- ...undResponsesWithToolsAndPersistence.csproj | 3 +- .../Agent_Step14_Middleware.csproj | 5 +- .../Agent_Step15_Plugins.csproj | 5 +- .../Agent_Step16_ChatReduction.csproj | 3 +- .../Agent_Step17_BackgroundResponses.csproj | 5 +- .../Agent_Step18_DeepResearch.csproj | 3 +- .../Agent_Step19_Declarative.csproj | 5 +- .../Agent_Step20_AdditionalAIContext.csproj | 5 +- .../DeclarativeChatClientAgents.csproj | 3 +- .../DevUI_Step01_BasicUsage.csproj | 4 +- .../FoundryAgents_Step01.1_Basics.csproj | 5 +- .../FoundryAgents_Step01.2_Running.csproj | 5 +- ...Agents_Step02_MultiturnConversation.csproj | 5 +- ...dryAgents_Step03_UsingFunctionTools.csproj | 5 +- ...p04_UsingFunctionToolsWithApprovals.csproj | 5 +- ...undryAgents_Step05_StructuredOutput.csproj | 5 +- ...gents_Step06_PersistedConversations.csproj | 5 +- .../FoundryAgents_Step07_Observability.csproj | 5 +- ...ryAgents_Step08_DependencyInjection.csproj | 5 +- ...Agents_Step09_UsingMcpClientAsTools.csproj | 4 +- .../FoundryAgents_Step10_UsingImages.csproj | 5 +- ...FoundryAgents_Step11_AsFunctionTool.csproj | 6 +- .../FoundryAgents_Step12_Middleware.csproj | 5 +- .../FoundryAgents_Step13_Plugins.csproj | 5 +- ...oundryAgents_Step14_CodeInterpreter.csproj | 5 +- .../FoundryAgents_Step15_ComputerUse.csproj | 13 +- .../FoundryAgents_Step27_LocalMCP.csproj | 5 +- .../Agent_MCP_Server/Agent_MCP_Server.csproj | 3 +- .../Agent_MCP_Server_Auth.csproj | 3 +- .../FoundryAgent_Hosted_MCP.csproj | 3 +- .../ResponseAgent_Hosted_MCP.csproj | 3 +- .../CustomAgentExecutors.csproj | 3 +- .../Agents/FoundryAgent/FoundryAgent.csproj | 3 +- .../GroupChatToolApproval.csproj | 3 +- .../WorkflowAsAnAgent.csproj | 3 +- .../CheckpointAndRehydrate.csproj | 3 +- .../CheckpointAndResume.csproj | 3 +- .../CheckpointWithHumanInTheLoop.csproj | 3 +- .../Concurrent/Concurrent/Concurrent.csproj | 5 +- .../Concurrent/MapReduce/MapReduce.csproj | 7 +- .../01_EdgeCondition/01_EdgeCondition.csproj | 3 +- .../02_SwitchCase/02_SwitchCase.csproj | 3 +- .../03_MultiSelection.csproj | 3 +- .../ConfirmInput/ConfirmInput.csproj | 5 +- .../CustomerSupport/CustomerSupport.csproj | 7 +- .../DeepResearch/DeepResearch.csproj | 5 +- .../ExecuteCode/ExecuteCode.csproj | 4 +- .../ExecuteWorkflow/ExecuteWorkflow.csproj | 3 +- .../FunctionTools/FunctionTools.csproj | 5 +- .../GenerateCode/GenerateCode.csproj | 4 +- .../HostedWorkflow/HostedWorkflow.csproj | 5 +- .../Declarative/HostedWorkflow/Program.cs | 2 +- .../InputArguments/InputArguments.csproj | 5 +- .../Declarative/Marketing/Marketing.csproj | 5 +- .../StudentTeacher/StudentTeacher.csproj | 7 +- .../ToolApproval/ToolApproval.csproj | 5 +- .../HumanInTheLoopBasic.csproj | 3 +- .../GettingStarted/Workflows/Loop/Loop.csproj | 3 +- .../ApplicationInsights.csproj | 5 +- .../AspireDashboard/AspireDashboard.csproj | 5 +- .../WorkflowAsAnAgentObservability.csproj | 3 +- .../SharedStates/SharedStates.csproj | 3 +- .../Visualization/Visualization.csproj | 5 +- .../01_ExecutorsAndEdges.csproj | 3 +- .../02_Streaming/02_Streaming.csproj | 3 +- .../03_AgentsInWorkflows.csproj | 3 +- .../04_AgentWorkflowPatterns.csproj | 3 +- .../05_MultiModelService.csproj | 3 +- .../06_SubWorkflows/06_SubWorkflows.csproj | 5 +- .../07_MixedWorkflowAgentsAndExecutors.csproj | 3 +- .../08_WriterCriticWorkflow.csproj | 4 +- .../AgentWithHostedMCP.csproj | 19 +- .../AgentWithTextSearchRag.csproj | 9 +- .../AgentsInWorkflows.csproj | 11 +- dotnet/samples/M365Agent/M365Agent.csproj | 6 +- .../AgentWithPurview/AgentWithPurview.csproj | 5 +- dotnet/src/Shared/Demos/README.md | 20 -- dotnet/src/Shared/Samples/BaseSample.cs | 225 ------------------ .../src/Shared/Samples/OrchestrationSample.cs | 160 ------------- dotnet/src/Shared/Samples/README.md | 23 +- .../{Demos => Samples}/SampleEnvironment.cs | 83 +++---- .../src/Shared/Samples/TestConfiguration.cs | 94 -------- .../Samples/TextOutputHelperExtensions.cs | 39 --- dotnet/src/Shared/Samples/XunitLogger.cs | 42 ---- 167 files changed, 321 insertions(+), 983 deletions(-) delete mode 100644 dotnet/src/Shared/Demos/README.md delete mode 100644 dotnet/src/Shared/Samples/BaseSample.cs delete mode 100644 dotnet/src/Shared/Samples/OrchestrationSample.cs rename dotnet/src/Shared/{Demos => Samples}/SampleEnvironment.cs (60%) delete mode 100644 dotnet/src/Shared/Samples/TestConfiguration.cs delete mode 100644 dotnet/src/Shared/Samples/TextOutputHelperExtensions.cs delete mode 100644 dotnet/src/Shared/Samples/XunitLogger.cs diff --git a/dotnet/samples/A2AClientServer/A2AClient/A2AClient.csproj b/dotnet/samples/A2AClientServer/A2AClient/A2AClient.csproj index 6b88c5c697..b421f55473 100644 --- a/dotnet/samples/A2AClientServer/A2AClient/A2AClient.csproj +++ b/dotnet/samples/A2AClientServer/A2AClient/A2AClient.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/A2AClientServer/A2AServer/A2AServer.csproj b/dotnet/samples/A2AClientServer/A2AServer/A2AServer.csproj index 0a3b170a0b..a15d1bf3ea 100644 --- a/dotnet/samples/A2AClientServer/A2AServer/A2AServer.csproj +++ b/dotnet/samples/A2AClientServer/A2AServer/A2AServer.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 @@ -13,9 +13,8 @@ - + - diff --git a/dotnet/samples/AGUIClientServer/AGUIClient/AGUIClient.csproj b/dotnet/samples/AGUIClientServer/AGUIClient/AGUIClient.csproj index 7d80fa7cda..e41723b2e5 100644 --- a/dotnet/samples/AGUIClientServer/AGUIClient/AGUIClient.csproj +++ b/dotnet/samples/AGUIClientServer/AGUIClient/AGUIClient.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable a8b2e9f0-1ea3-4f18-9d41-42d1a6f8fe10 diff --git a/dotnet/samples/AGUIClientServer/AGUIDojoServer/AGUIDojoServer.csproj b/dotnet/samples/AGUIClientServer/AGUIDojoServer/AGUIDojoServer.csproj index cea8efff76..76c4eff43a 100644 --- a/dotnet/samples/AGUIClientServer/AGUIDojoServer/AGUIDojoServer.csproj +++ b/dotnet/samples/AGUIClientServer/AGUIDojoServer/AGUIDojoServer.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable b9c3f1e1-2fb4-5g29-0e52-53e2b7g9gf21 diff --git a/dotnet/samples/AGUIClientServer/AGUIServer/AGUIServer.csproj b/dotnet/samples/AGUIClientServer/AGUIServer/AGUIServer.csproj index ccfe22923a..3aeceb497f 100644 --- a/dotnet/samples/AGUIClientServer/AGUIServer/AGUIServer.csproj +++ b/dotnet/samples/AGUIClientServer/AGUIServer/AGUIServer.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable a8b2e9f0-1ea3-4f18-9d41-42d1a6f8fe10 diff --git a/dotnet/samples/AGUIWebChat/Client/AGUIWebChatClient.csproj b/dotnet/samples/AGUIWebChat/Client/AGUIWebChatClient.csproj index b28e53df6e..88e8a9893c 100644 --- a/dotnet/samples/AGUIWebChat/Client/AGUIWebChatClient.csproj +++ b/dotnet/samples/AGUIWebChat/Client/AGUIWebChatClient.csproj @@ -1,7 +1,7 @@ - net10.0 + net10.0 enable enable true diff --git a/dotnet/samples/AGUIWebChat/Server/AGUIWebChatServer.csproj b/dotnet/samples/AGUIWebChat/Server/AGUIWebChatServer.csproj index c45adfd4a8..48fe7b464d 100644 --- a/dotnet/samples/AGUIWebChat/Server/AGUIWebChatServer.csproj +++ b/dotnet/samples/AGUIWebChat/Server/AGUIWebChatServer.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/AgentWebChat.AgentHost.csproj b/dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/AgentWebChat.AgentHost.csproj index f71becf5d3..53c1f2bef2 100644 --- a/dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/AgentWebChat.AgentHost.csproj +++ b/dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/AgentWebChat.AgentHost.csproj @@ -1,23 +1,12 @@ - + - net10.0 + net10.0 enable enable true - - - - - - - - - - - @@ -30,4 +19,15 @@ - \ No newline at end of file + + + + + + + + + + + + diff --git a/dotnet/samples/AgentWebChat/AgentWebChat.AppHost/AgentWebChat.AppHost.csproj b/dotnet/samples/AgentWebChat/AgentWebChat.AppHost/AgentWebChat.AppHost.csproj index de87c119ec..19a6cbb8d2 100644 --- a/dotnet/samples/AgentWebChat/AgentWebChat.AppHost/AgentWebChat.AppHost.csproj +++ b/dotnet/samples/AgentWebChat/AgentWebChat.AppHost/AgentWebChat.AppHost.csproj @@ -4,7 +4,7 @@ Exe - net10.0 + net10.0 enable enable true diff --git a/dotnet/samples/AgentWebChat/AgentWebChat.ServiceDefaults/AgentWebChat.ServiceDefaults.csproj b/dotnet/samples/AgentWebChat/AgentWebChat.ServiceDefaults/AgentWebChat.ServiceDefaults.csproj index 0c5573beac..5c4e800dcb 100644 --- a/dotnet/samples/AgentWebChat/AgentWebChat.ServiceDefaults/AgentWebChat.ServiceDefaults.csproj +++ b/dotnet/samples/AgentWebChat/AgentWebChat.ServiceDefaults/AgentWebChat.ServiceDefaults.csproj @@ -1,7 +1,7 @@ - net10.0 + net10.0 enable enable true @@ -9,7 +9,9 @@ + + diff --git a/dotnet/samples/AgentWebChat/AgentWebChat.Web/AgentWebChat.Web.csproj b/dotnet/samples/AgentWebChat/AgentWebChat.Web/AgentWebChat.Web.csproj index fd26f56191..549ff5602d 100644 --- a/dotnet/samples/AgentWebChat/AgentWebChat.Web/AgentWebChat.Web.csproj +++ b/dotnet/samples/AgentWebChat/AgentWebChat.Web/AgentWebChat.Web.csproj @@ -1,7 +1,7 @@ - + - net10.0 + net10.0 enable enable $(NoWarn);CA1812 diff --git a/dotnet/samples/Directory.Build.props b/dotnet/samples/Directory.Build.props index 15880d4a8e..e80a0c1ac0 100644 --- a/dotnet/samples/Directory.Build.props +++ b/dotnet/samples/Directory.Build.props @@ -2,11 +2,15 @@ + false false - net10.0;net472 - 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 + net10.0 + net10.0 @@ -14,7 +18,7 @@ - + diff --git a/dotnet/samples/Durable/Agents/AzureFunctions/01_SingleAgent/01_SingleAgent.csproj b/dotnet/samples/Durable/Agents/AzureFunctions/01_SingleAgent/01_SingleAgent.csproj index 0c0e4f7fe0..1954d5bca1 100644 --- a/dotnet/samples/Durable/Agents/AzureFunctions/01_SingleAgent/01_SingleAgent.csproj +++ b/dotnet/samples/Durable/Agents/AzureFunctions/01_SingleAgent/01_SingleAgent.csproj @@ -1,8 +1,8 @@ - net10.0 v4 Exe + net10.0 enable enable diff --git a/dotnet/samples/Durable/Agents/AzureFunctions/02_AgentOrchestration_Chaining/02_AgentOrchestration_Chaining.csproj b/dotnet/samples/Durable/Agents/AzureFunctions/02_AgentOrchestration_Chaining/02_AgentOrchestration_Chaining.csproj index 83032dcfd0..6687ae2446 100644 --- a/dotnet/samples/Durable/Agents/AzureFunctions/02_AgentOrchestration_Chaining/02_AgentOrchestration_Chaining.csproj +++ b/dotnet/samples/Durable/Agents/AzureFunctions/02_AgentOrchestration_Chaining/02_AgentOrchestration_Chaining.csproj @@ -1,8 +1,8 @@ - net10.0 v4 Exe + net10.0 enable enable diff --git a/dotnet/samples/Durable/Agents/AzureFunctions/03_AgentOrchestration_Concurrency/03_AgentOrchestration_Concurrency.csproj b/dotnet/samples/Durable/Agents/AzureFunctions/03_AgentOrchestration_Concurrency/03_AgentOrchestration_Concurrency.csproj index ac13f4ef1f..1a466d53f6 100644 --- a/dotnet/samples/Durable/Agents/AzureFunctions/03_AgentOrchestration_Concurrency/03_AgentOrchestration_Concurrency.csproj +++ b/dotnet/samples/Durable/Agents/AzureFunctions/03_AgentOrchestration_Concurrency/03_AgentOrchestration_Concurrency.csproj @@ -1,8 +1,8 @@ - net10.0 v4 Exe + net10.0 enable enable diff --git a/dotnet/samples/Durable/Agents/AzureFunctions/04_AgentOrchestration_Conditionals/04_AgentOrchestration_Conditionals.csproj b/dotnet/samples/Durable/Agents/AzureFunctions/04_AgentOrchestration_Conditionals/04_AgentOrchestration_Conditionals.csproj index 2a10c88a4f..da0d617100 100644 --- a/dotnet/samples/Durable/Agents/AzureFunctions/04_AgentOrchestration_Conditionals/04_AgentOrchestration_Conditionals.csproj +++ b/dotnet/samples/Durable/Agents/AzureFunctions/04_AgentOrchestration_Conditionals/04_AgentOrchestration_Conditionals.csproj @@ -1,8 +1,8 @@ - net10.0 v4 Exe + net10.0 enable enable diff --git a/dotnet/samples/Durable/Agents/AzureFunctions/05_AgentOrchestration_HITL/05_AgentOrchestration_HITL.csproj b/dotnet/samples/Durable/Agents/AzureFunctions/05_AgentOrchestration_HITL/05_AgentOrchestration_HITL.csproj index e073701252..2d4ec2986e 100644 --- a/dotnet/samples/Durable/Agents/AzureFunctions/05_AgentOrchestration_HITL/05_AgentOrchestration_HITL.csproj +++ b/dotnet/samples/Durable/Agents/AzureFunctions/05_AgentOrchestration_HITL/05_AgentOrchestration_HITL.csproj @@ -1,8 +1,8 @@ - net10.0 v4 Exe + net10.0 enable enable diff --git a/dotnet/samples/Durable/Agents/AzureFunctions/06_LongRunningTools/06_LongRunningTools.csproj b/dotnet/samples/Durable/Agents/AzureFunctions/06_LongRunningTools/06_LongRunningTools.csproj index 185a57bc52..39a17b06e3 100644 --- a/dotnet/samples/Durable/Agents/AzureFunctions/06_LongRunningTools/06_LongRunningTools.csproj +++ b/dotnet/samples/Durable/Agents/AzureFunctions/06_LongRunningTools/06_LongRunningTools.csproj @@ -1,8 +1,8 @@ - net10.0 v4 Exe + net10.0 enable enable diff --git a/dotnet/samples/Durable/Agents/AzureFunctions/07_AgentAsMcpTool/07_AgentAsMcpTool.csproj b/dotnet/samples/Durable/Agents/AzureFunctions/07_AgentAsMcpTool/07_AgentAsMcpTool.csproj index bba1b3f51f..bca3af8c6c 100644 --- a/dotnet/samples/Durable/Agents/AzureFunctions/07_AgentAsMcpTool/07_AgentAsMcpTool.csproj +++ b/dotnet/samples/Durable/Agents/AzureFunctions/07_AgentAsMcpTool/07_AgentAsMcpTool.csproj @@ -1,8 +1,8 @@ - net10.0 v4 Exe + net10.0 enable enable diff --git a/dotnet/samples/Durable/Agents/AzureFunctions/08_ReliableStreaming/08_ReliableStreaming.csproj b/dotnet/samples/Durable/Agents/AzureFunctions/08_ReliableStreaming/08_ReliableStreaming.csproj index 10887faeb7..8b77405bd8 100644 --- a/dotnet/samples/Durable/Agents/AzureFunctions/08_ReliableStreaming/08_ReliableStreaming.csproj +++ b/dotnet/samples/Durable/Agents/AzureFunctions/08_ReliableStreaming/08_ReliableStreaming.csproj @@ -1,8 +1,8 @@ - net10.0 v4 Exe + net10.0 enable enable diff --git a/dotnet/samples/Durable/Agents/ConsoleApps/01_SingleAgent/01_SingleAgent.csproj b/dotnet/samples/Durable/Agents/ConsoleApps/01_SingleAgent/01_SingleAgent.csproj index c75457546e..36db79a9d4 100644 --- a/dotnet/samples/Durable/Agents/ConsoleApps/01_SingleAgent/01_SingleAgent.csproj +++ b/dotnet/samples/Durable/Agents/ConsoleApps/01_SingleAgent/01_SingleAgent.csproj @@ -1,7 +1,7 @@ - net10.0 Exe + net10.0 enable enable SingleAgent diff --git a/dotnet/samples/Durable/Agents/ConsoleApps/02_AgentOrchestration_Chaining/02_AgentOrchestration_Chaining.csproj b/dotnet/samples/Durable/Agents/ConsoleApps/02_AgentOrchestration_Chaining/02_AgentOrchestration_Chaining.csproj index 81a023818d..767bd16702 100644 --- a/dotnet/samples/Durable/Agents/ConsoleApps/02_AgentOrchestration_Chaining/02_AgentOrchestration_Chaining.csproj +++ b/dotnet/samples/Durable/Agents/ConsoleApps/02_AgentOrchestration_Chaining/02_AgentOrchestration_Chaining.csproj @@ -1,7 +1,7 @@ - net10.0 Exe + net10.0 enable enable AgentOrchestration_Chaining diff --git a/dotnet/samples/Durable/Agents/ConsoleApps/03_AgentOrchestration_Concurrency/03_AgentOrchestration_Concurrency.csproj b/dotnet/samples/Durable/Agents/ConsoleApps/03_AgentOrchestration_Concurrency/03_AgentOrchestration_Concurrency.csproj index af1e8fbba2..b1bb0bc0c4 100644 --- a/dotnet/samples/Durable/Agents/ConsoleApps/03_AgentOrchestration_Concurrency/03_AgentOrchestration_Concurrency.csproj +++ b/dotnet/samples/Durable/Agents/ConsoleApps/03_AgentOrchestration_Concurrency/03_AgentOrchestration_Concurrency.csproj @@ -1,7 +1,7 @@ - net10.0 Exe + net10.0 enable enable AgentOrchestration_Concurrency diff --git a/dotnet/samples/Durable/Agents/ConsoleApps/04_AgentOrchestration_Conditionals/04_AgentOrchestration_Conditionals.csproj b/dotnet/samples/Durable/Agents/ConsoleApps/04_AgentOrchestration_Conditionals/04_AgentOrchestration_Conditionals.csproj index 43a8ec54bc..69f963b4ed 100644 --- a/dotnet/samples/Durable/Agents/ConsoleApps/04_AgentOrchestration_Conditionals/04_AgentOrchestration_Conditionals.csproj +++ b/dotnet/samples/Durable/Agents/ConsoleApps/04_AgentOrchestration_Conditionals/04_AgentOrchestration_Conditionals.csproj @@ -1,7 +1,7 @@ - net10.0 Exe + net10.0 enable enable AgentOrchestration_Conditionals diff --git a/dotnet/samples/Durable/Agents/ConsoleApps/05_AgentOrchestration_HITL/05_AgentOrchestration_HITL.csproj b/dotnet/samples/Durable/Agents/ConsoleApps/05_AgentOrchestration_HITL/05_AgentOrchestration_HITL.csproj index e1d62cd517..0480ae9f96 100644 --- a/dotnet/samples/Durable/Agents/ConsoleApps/05_AgentOrchestration_HITL/05_AgentOrchestration_HITL.csproj +++ b/dotnet/samples/Durable/Agents/ConsoleApps/05_AgentOrchestration_HITL/05_AgentOrchestration_HITL.csproj @@ -1,7 +1,7 @@ - net10.0 Exe + net10.0 enable enable AgentOrchestration_HITL diff --git a/dotnet/samples/Durable/Agents/ConsoleApps/06_LongRunningTools/06_LongRunningTools.csproj b/dotnet/samples/Durable/Agents/ConsoleApps/06_LongRunningTools/06_LongRunningTools.csproj index e07b30b9f8..5f0eb07e92 100644 --- a/dotnet/samples/Durable/Agents/ConsoleApps/06_LongRunningTools/06_LongRunningTools.csproj +++ b/dotnet/samples/Durable/Agents/ConsoleApps/06_LongRunningTools/06_LongRunningTools.csproj @@ -1,7 +1,7 @@ - net10.0 Exe + net10.0 enable enable LongRunningTools diff --git a/dotnet/samples/Durable/Agents/ConsoleApps/07_ReliableStreaming/07_ReliableStreaming.csproj b/dotnet/samples/Durable/Agents/ConsoleApps/07_ReliableStreaming/07_ReliableStreaming.csproj index 0ffe410d65..fbf2020138 100644 --- a/dotnet/samples/Durable/Agents/ConsoleApps/07_ReliableStreaming/07_ReliableStreaming.csproj +++ b/dotnet/samples/Durable/Agents/ConsoleApps/07_ReliableStreaming/07_ReliableStreaming.csproj @@ -1,7 +1,7 @@ - net10.0 Exe + net10.0 enable enable ReliableStreaming diff --git a/dotnet/samples/GettingStarted/A2A/A2AAgent_AsFunctionTools/A2AAgent_AsFunctionTools.csproj b/dotnet/samples/GettingStarted/A2A/A2AAgent_AsFunctionTools/A2AAgent_AsFunctionTools.csproj index d91b20e34b..5bd3db8995 100644 --- a/dotnet/samples/GettingStarted/A2A/A2AAgent_AsFunctionTools/A2AAgent_AsFunctionTools.csproj +++ b/dotnet/samples/GettingStarted/A2A/A2AAgent_AsFunctionTools/A2AAgent_AsFunctionTools.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/A2A/A2AAgent_PollingForTaskCompletion/A2AAgent_PollingForTaskCompletion.csproj b/dotnet/samples/GettingStarted/A2A/A2AAgent_PollingForTaskCompletion/A2AAgent_PollingForTaskCompletion.csproj index 1f36cef576..46d85ec8db 100644 --- a/dotnet/samples/GettingStarted/A2A/A2AAgent_PollingForTaskCompletion/A2AAgent_PollingForTaskCompletion.csproj +++ b/dotnet/samples/GettingStarted/A2A/A2AAgent_PollingForTaskCompletion/A2AAgent_PollingForTaskCompletion.csproj @@ -1,9 +1,8 @@ - + Exe net10.0 - enable enable @@ -13,7 +12,6 @@ - diff --git a/dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Client/Client.csproj b/dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Client/Client.csproj index a76a2b37ef..3bcfdf2fc9 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Client/Client.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Client/Client.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Server/Server.csproj b/dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Server/Server.csproj index b1e7fe33cf..6d51a116d8 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Server/Server.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Server/Server.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Client/Client.csproj b/dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Client/Client.csproj index a76a2b37ef..3bcfdf2fc9 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Client/Client.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Client/Client.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Server/Server.csproj b/dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Server/Server.csproj index b1e7fe33cf..6d51a116d8 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Server/Server.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Server/Server.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Client/Client.csproj b/dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Client/Client.csproj index a76a2b37ef..3bcfdf2fc9 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Client/Client.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Client/Client.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Server/Server.csproj b/dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Server/Server.csproj index b1e7fe33cf..6d51a116d8 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Server/Server.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Server/Server.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step04_HumanInLoop/Client/Client.csproj b/dotnet/samples/GettingStarted/AGUI/Step04_HumanInLoop/Client/Client.csproj index a76a2b37ef..3bcfdf2fc9 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step04_HumanInLoop/Client/Client.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step04_HumanInLoop/Client/Client.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step04_HumanInLoop/Server/Server.csproj b/dotnet/samples/GettingStarted/AGUI/Step04_HumanInLoop/Server/Server.csproj index b1e7fe33cf..6d51a116d8 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step04_HumanInLoop/Server/Server.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step04_HumanInLoop/Server/Server.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Client/Client.csproj b/dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Client/Client.csproj index a76a2b37ef..3bcfdf2fc9 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Client/Client.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Client/Client.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Server/Server.csproj b/dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Server/Server.csproj index b1e7fe33cf..6d51a116d8 100644 --- a/dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Server/Server.csproj +++ b/dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Server/Server.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentOpenTelemetry/AgentOpenTelemetry.csproj b/dotnet/samples/GettingStarted/AgentOpenTelemetry/AgentOpenTelemetry.csproj index e194fec9c2..6826eb3a37 100644 --- a/dotnet/samples/GettingStarted/AgentOpenTelemetry/AgentOpenTelemetry.csproj +++ b/dotnet/samples/GettingStarted/AgentOpenTelemetry/AgentOpenTelemetry.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_A2A/Agent_With_A2A.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_A2A/Agent_With_A2A.csproj index 7236ee5044..95e8965493 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_A2A/Agent_With_A2A.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_A2A/Agent_With_A2A.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_Anthropic/Agent_With_Anthropic.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_Anthropic/Agent_With_Anthropic.csproj index eb29d1d310..0d44b52cfd 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_Anthropic/Agent_With_Anthropic.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_Anthropic/Agent_With_Anthropic.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable $(NoWarn);IDE0059 diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureAIAgentsPersistent/Agent_With_AzureAIAgentsPersistent.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureAIAgentsPersistent/Agent_With_AzureAIAgentsPersistent.csproj index d40e93232b..eb0110ef3a 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureAIAgentsPersistent/Agent_With_AzureAIAgentsPersistent.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureAIAgentsPersistent/Agent_With_AzureAIAgentsPersistent.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureAIProject/Agent_With_AzureAIProject.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureAIProject/Agent_With_AzureAIProject.csproj index a8deaa57b5..f1135f4f6b 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureAIProject/Agent_With_AzureAIProject.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureAIProject/Agent_With_AzureAIProject.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable $(NoWarn);IDE0059 diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureFoundryModel/Agent_With_AzureFoundryModel.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureFoundryModel/Agent_With_AzureFoundryModel.csproj index 0c4701fafd..301f30309f 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureFoundryModel/Agent_With_AzureFoundryModel.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureFoundryModel/Agent_With_AzureFoundryModel.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureOpenAIChatCompletion/Agent_With_AzureOpenAIChatCompletion.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureOpenAIChatCompletion/Agent_With_AzureOpenAIChatCompletion.csproj index 41aafe3437..21c8399c40 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureOpenAIChatCompletion/Agent_With_AzureOpenAIChatCompletion.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureOpenAIChatCompletion/Agent_With_AzureOpenAIChatCompletion.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureOpenAIResponses/Agent_With_AzureOpenAIResponses.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureOpenAIResponses/Agent_With_AzureOpenAIResponses.csproj index 41aafe3437..21c8399c40 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureOpenAIResponses/Agent_With_AzureOpenAIResponses.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_AzureOpenAIResponses/Agent_With_AzureOpenAIResponses.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation/Agent_With_CustomImplementation.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation/Agent_With_CustomImplementation.csproj index 945912bfd4..957d8984eb 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation/Agent_With_CustomImplementation.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation/Agent_With_CustomImplementation.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_GitHubCopilot/Agent_With_GitHubCopilot.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_GitHubCopilot/Agent_With_GitHubCopilot.csproj index 143998d2b6..6a69c4ba96 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_GitHubCopilot/Agent_With_GitHubCopilot.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_GitHubCopilot/Agent_With_GitHubCopilot.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_GoogleGemini/Agent_With_GoogleGemini.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_GoogleGemini/Agent_With_GoogleGemini.csproj index d01f015a4b..983ef66e45 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_GoogleGemini/Agent_With_GoogleGemini.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_GoogleGemini/Agent_With_GoogleGemini.csproj @@ -2,8 +2,7 @@ Exe - net8.0;net9.0;net10.0 - + net10.0 enable enable $(NoWarn);IDE0059;NU1510 diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_ONNX/Agent_With_ONNX.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_ONNX/Agent_With_ONNX.csproj index 61acc80e9c..477695ba54 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_ONNX/Agent_With_ONNX.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_ONNX/Agent_With_ONNX.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_Ollama/Agent_With_Ollama.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_Ollama/Agent_With_Ollama.csproj index c538cbedd1..5f99a6153d 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_Ollama/Agent_With_Ollama.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_Ollama/Agent_With_Ollama.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIAssistants/Agent_With_OpenAIAssistants.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIAssistants/Agent_With_OpenAIAssistants.csproj index eeda3eef6f..e762cbfeb2 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIAssistants/Agent_With_OpenAIAssistants.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIAssistants/Agent_With_OpenAIAssistants.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIChatCompletion/Agent_With_OpenAIChatCompletion.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIChatCompletion/Agent_With_OpenAIChatCompletion.csproj index 4ea7a45b8a..e762cbfeb2 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIChatCompletion/Agent_With_OpenAIChatCompletion.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIChatCompletion/Agent_With_OpenAIChatCompletion.csproj @@ -3,7 +3,6 @@ Exe net10.0 - enable enable diff --git a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIResponses/Agent_With_OpenAIResponses.csproj b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIResponses/Agent_With_OpenAIResponses.csproj index eeda3eef6f..e762cbfeb2 100644 --- a/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIResponses/Agent_With_OpenAIResponses.csproj +++ b/dotnet/samples/GettingStarted/AgentProviders/Agent_With_OpenAIResponses/Agent_With_OpenAIResponses.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step01_Running/Agent_Anthropic_Step01_Running.csproj b/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step01_Running/Agent_Anthropic_Step01_Running.csproj index 09359c5e78..8cdfd7f650 100644 --- a/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step01_Running/Agent_Anthropic_Step01_Running.csproj +++ b/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step01_Running/Agent_Anthropic_Step01_Running.csproj @@ -3,7 +3,6 @@ Exe net10.0 - enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step02_Reasoning/Agent_Anthropic_Step02_Reasoning.csproj b/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step02_Reasoning/Agent_Anthropic_Step02_Reasoning.csproj index fc0914f1fc..2b02ed683c 100644 --- a/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step02_Reasoning/Agent_Anthropic_Step02_Reasoning.csproj +++ b/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step02_Reasoning/Agent_Anthropic_Step02_Reasoning.csproj @@ -3,7 +3,6 @@ Exe net10.0 - enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step03_UsingFunctionTools/Agent_Anthropic_Step03_UsingFunctionTools.csproj b/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step03_UsingFunctionTools/Agent_Anthropic_Step03_UsingFunctionTools.csproj index fdb9a2f50f..1330d00a1b 100644 --- a/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step03_UsingFunctionTools/Agent_Anthropic_Step03_UsingFunctionTools.csproj +++ b/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step03_UsingFunctionTools/Agent_Anthropic_Step03_UsingFunctionTools.csproj @@ -3,7 +3,6 @@ Exe net10.0 - enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step04_UsingSkills/Agent_Anthropic_Step04_UsingSkills.csproj b/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step04_UsingSkills/Agent_Anthropic_Step04_UsingSkills.csproj index 09359c5e78..8cdfd7f650 100644 --- a/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step04_UsingSkills/Agent_Anthropic_Step04_UsingSkills.csproj +++ b/dotnet/samples/GettingStarted/AgentWithAnthropic/Agent_Anthropic_Step04_UsingSkills/Agent_Anthropic_Step04_UsingSkills.csproj @@ -3,7 +3,6 @@ Exe net10.0 - enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step01_ChatHistoryMemory/AgentWithMemory_Step01_ChatHistoryMemory.csproj b/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step01_ChatHistoryMemory/AgentWithMemory_Step01_ChatHistoryMemory.csproj index 860089b621..a207dd88fc 100644 --- a/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step01_ChatHistoryMemory/AgentWithMemory_Step01_ChatHistoryMemory.csproj +++ b/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step01_ChatHistoryMemory/AgentWithMemory_Step01_ChatHistoryMemory.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step02_MemoryUsingMem0/AgentWithMemory_Step02_MemoryUsingMem0.csproj b/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step02_MemoryUsingMem0/AgentWithMemory_Step02_MemoryUsingMem0.csproj index 1e0863d66f..8467375e0e 100644 --- a/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step02_MemoryUsingMem0/AgentWithMemory_Step02_MemoryUsingMem0.csproj +++ b/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step02_MemoryUsingMem0/AgentWithMemory_Step02_MemoryUsingMem0.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step03_CustomMemory/AgentWithMemory_Step03_CustomMemory.csproj b/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step03_CustomMemory/AgentWithMemory_Step03_CustomMemory.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step03_CustomMemory/AgentWithMemory_Step03_CustomMemory.csproj +++ b/dotnet/samples/GettingStarted/AgentWithMemory/AgentWithMemory_Step03_CustomMemory/AgentWithMemory_Step03_CustomMemory.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step01_Running/Agent_OpenAI_Step01_Running.csproj b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step01_Running/Agent_OpenAI_Step01_Running.csproj index eeda3eef6f..e762cbfeb2 100644 --- a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step01_Running/Agent_OpenAI_Step01_Running.csproj +++ b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step01_Running/Agent_OpenAI_Step01_Running.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step02_Reasoning/Agent_OpenAI_Step02_Reasoning.csproj b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step02_Reasoning/Agent_OpenAI_Step02_Reasoning.csproj index 78f0981676..e762cbfeb2 100644 --- a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step02_Reasoning/Agent_OpenAI_Step02_Reasoning.csproj +++ b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step02_Reasoning/Agent_OpenAI_Step02_Reasoning.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable @@ -12,4 +11,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step03_CreateFromChatClient/Agent_OpenAI_Step03_CreateFromChatClient.csproj b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step03_CreateFromChatClient/Agent_OpenAI_Step03_CreateFromChatClient.csproj index eeda3eef6f..e762cbfeb2 100644 --- a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step03_CreateFromChatClient/Agent_OpenAI_Step03_CreateFromChatClient.csproj +++ b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step03_CreateFromChatClient/Agent_OpenAI_Step03_CreateFromChatClient.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient.csproj b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient.csproj index eeda3eef6f..e762cbfeb2 100644 --- a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient.csproj +++ b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step05_Conversation/Agent_OpenAI_Step05_Conversation.csproj b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step05_Conversation/Agent_OpenAI_Step05_Conversation.csproj index eeda3eef6f..e762cbfeb2 100644 --- a/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step05_Conversation/Agent_OpenAI_Step05_Conversation.csproj +++ b/dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step05_Conversation/Agent_OpenAI_Step05_Conversation.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step01_BasicTextRAG/AgentWithRAG_Step01_BasicTextRAG.csproj b/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step01_BasicTextRAG/AgentWithRAG_Step01_BasicTextRAG.csproj index 860089b621..a207dd88fc 100644 --- a/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step01_BasicTextRAG/AgentWithRAG_Step01_BasicTextRAG.csproj +++ b/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step01_BasicTextRAG/AgentWithRAG_Step01_BasicTextRAG.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step02_CustomVectorStoreRAG/AgentWithRAG_Step02_CustomVectorStoreRAG.csproj b/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step02_CustomVectorStoreRAG/AgentWithRAG_Step02_CustomVectorStoreRAG.csproj index 33029395dd..fdc0819121 100644 --- a/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step02_CustomVectorStoreRAG/AgentWithRAG_Step02_CustomVectorStoreRAG.csproj +++ b/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step02_CustomVectorStoreRAG/AgentWithRAG_Step02_CustomVectorStoreRAG.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step03_CustomRAGDataSource/AgentWithRAG_Step03_CustomRAGDataSource.csproj b/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step03_CustomRAGDataSource/AgentWithRAG_Step03_CustomRAGDataSource.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step03_CustomRAGDataSource/AgentWithRAG_Step03_CustomRAGDataSource.csproj +++ b/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step03_CustomRAGDataSource/AgentWithRAG_Step03_CustomRAGDataSource.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step04_FoundryServiceRAG/AgentWithRAG_Step04_FoundryServiceRAG.csproj b/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step04_FoundryServiceRAG/AgentWithRAG_Step04_FoundryServiceRAG.csproj index d90e1c394b..f3fbc3ac90 100644 --- a/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step04_FoundryServiceRAG/AgentWithRAG_Step04_FoundryServiceRAG.csproj +++ b/dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step04_FoundryServiceRAG/AgentWithRAG_Step04_FoundryServiceRAG.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step01_Running/Agent_Step01_Running.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step01_Running/Agent_Step01_Running.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step01_Running/Agent_Step01_Running.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step01_Running/Agent_Step01_Running.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step02_MultiturnConversation/Agent_Step02_MultiturnConversation.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step02_MultiturnConversation/Agent_Step02_MultiturnConversation.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step02_MultiturnConversation/Agent_Step02_MultiturnConversation.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step02_MultiturnConversation/Agent_Step02_MultiturnConversation.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step03_UsingFunctionTools/Agent_Step03_UsingFunctionTools.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step03_UsingFunctionTools/Agent_Step03_UsingFunctionTools.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step03_UsingFunctionTools/Agent_Step03_UsingFunctionTools.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step03_UsingFunctionTools/Agent_Step03_UsingFunctionTools.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step04_UsingFunctionToolsWithApprovals/Agent_Step04_UsingFunctionToolsWithApprovals.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step04_UsingFunctionToolsWithApprovals/Agent_Step04_UsingFunctionToolsWithApprovals.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step04_UsingFunctionToolsWithApprovals/Agent_Step04_UsingFunctionToolsWithApprovals.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step04_UsingFunctionToolsWithApprovals/Agent_Step04_UsingFunctionToolsWithApprovals.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step05_StructuredOutput/Agent_Step05_StructuredOutput.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step05_StructuredOutput/Agent_Step05_StructuredOutput.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step05_StructuredOutput/Agent_Step05_StructuredOutput.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step05_StructuredOutput/Agent_Step05_StructuredOutput.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step06_PersistedConversations/Agent_Step06_PersistedConversations.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step06_PersistedConversations/Agent_Step06_PersistedConversations.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step06_PersistedConversations/Agent_Step06_PersistedConversations.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step06_PersistedConversations/Agent_Step06_PersistedConversations.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step07_3rdPartyChatHistoryStorage/Agent_Step07_3rdPartyChatHistoryStorage.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step07_3rdPartyChatHistoryStorage/Agent_Step07_3rdPartyChatHistoryStorage.csproj index 860089b621..a207dd88fc 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step07_3rdPartyChatHistoryStorage/Agent_Step07_3rdPartyChatHistoryStorage.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step07_3rdPartyChatHistoryStorage/Agent_Step07_3rdPartyChatHistoryStorage.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step08_Observability/Agent_Step08_Observability.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step08_Observability/Agent_Step08_Observability.csproj index 1a618d660a..3214bf1d8f 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step08_Observability/Agent_Step08_Observability.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step08_Observability/Agent_Step08_Observability.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step09_DependencyInjection/Agent_Step09_DependencyInjection.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step09_DependencyInjection/Agent_Step09_DependencyInjection.csproj index 0aaa471260..7b11ac1667 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step09_DependencyInjection/Agent_Step09_DependencyInjection.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step09_DependencyInjection/Agent_Step09_DependencyInjection.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step10_AsMcpTool/Agent_Step10_AsMcpTool.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step10_AsMcpTool/Agent_Step10_AsMcpTool.csproj index db776afd1e..01281f12e9 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step10_AsMcpTool/Agent_Step10_AsMcpTool.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step10_AsMcpTool/Agent_Step10_AsMcpTool.csproj @@ -2,11 +2,9 @@ Exe - net10.0 - + net10.0 enable enable - 3afc9b74-af74-4d8e-ae96-fa1c511d11ac diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step11_UsingImages/Agent_Step11_UsingImages.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step11_UsingImages/Agent_Step11_UsingImages.csproj index 73a41005f1..5b57dad606 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step11_UsingImages/Agent_Step11_UsingImages.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step11_UsingImages/Agent_Step11_UsingImages.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step12_AsFunctionTool/Agent_Step12_AsFunctionTool.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step12_AsFunctionTool/Agent_Step12_AsFunctionTool.csproj index 2660090404..2ef56e33d3 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step12_AsFunctionTool/Agent_Step12_AsFunctionTool.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step12_AsFunctionTool/Agent_Step12_AsFunctionTool.csproj @@ -2,11 +2,9 @@ Exe - net10.0 - + net10.0 enable enable - 3afc9b74-af74-4d8e-ae96-fa1c511d11ac diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step13_BackgroundResponsesWithToolsAndPersistence/Agent_Step13_BackgroundResponsesWithToolsAndPersistence.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step13_BackgroundResponsesWithToolsAndPersistence/Agent_Step13_BackgroundResponsesWithToolsAndPersistence.csproj index 29fab5f992..a1ed8a3386 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step13_BackgroundResponsesWithToolsAndPersistence/Agent_Step13_BackgroundResponsesWithToolsAndPersistence.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step13_BackgroundResponsesWithToolsAndPersistence/Agent_Step13_BackgroundResponsesWithToolsAndPersistence.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step14_Middleware/Agent_Step14_Middleware.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step14_Middleware/Agent_Step14_Middleware.csproj index 6582c30cd5..052f492835 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step14_Middleware/Agent_Step14_Middleware.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step14_Middleware/Agent_Step14_Middleware.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step15_Plugins/Agent_Step15_Plugins.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step15_Plugins/Agent_Step15_Plugins.csproj index ae2f9ac194..601958b06e 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step15_Plugins/Agent_Step15_Plugins.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step15_Plugins/Agent_Step15_Plugins.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable $(NoWarn);CA1812 diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step16_ChatReduction/Agent_Step16_ChatReduction.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step16_ChatReduction/Agent_Step16_ChatReduction.csproj index 0f9de7c359..14367cd489 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step16_ChatReduction/Agent_Step16_ChatReduction.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step16_ChatReduction/Agent_Step16_ChatReduction.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step17_BackgroundResponses/Agent_Step17_BackgroundResponses.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step17_BackgroundResponses/Agent_Step17_BackgroundResponses.csproj index 1c95b4af25..5aced1ac0c 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step17_BackgroundResponses/Agent_Step17_BackgroundResponses.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step17_BackgroundResponses/Agent_Step17_BackgroundResponses.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj index d40e93232b..eb0110ef3a 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step19_Declarative/Agent_Step19_Declarative.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step19_Declarative/Agent_Step19_Declarative.csproj index 99073874ee..589fcc0770 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step19_Declarative/Agent_Step19_Declarative.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step19_Declarative/Agent_Step19_Declarative.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Agents/Agent_Step20_AdditionalAIContext/Agent_Step20_AdditionalAIContext.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step20_AdditionalAIContext/Agent_Step20_AdditionalAIContext.csproj index 99073874ee..589fcc0770 100644 --- a/dotnet/samples/GettingStarted/Agents/Agent_Step20_AdditionalAIContext/Agent_Step20_AdditionalAIContext.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step20_AdditionalAIContext/Agent_Step20_AdditionalAIContext.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/DeclarativeAgents/ChatClient/DeclarativeChatClientAgents.csproj b/dotnet/samples/GettingStarted/DeclarativeAgents/ChatClient/DeclarativeChatClientAgents.csproj index 157b70b052..589fcc0770 100644 --- a/dotnet/samples/GettingStarted/DeclarativeAgents/ChatClient/DeclarativeChatClientAgents.csproj +++ b/dotnet/samples/GettingStarted/DeclarativeAgents/ChatClient/DeclarativeChatClientAgents.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/DevUI/DevUI_Step01_BasicUsage/DevUI_Step01_BasicUsage.csproj b/dotnet/samples/GettingStarted/DevUI/DevUI_Step01_BasicUsage/DevUI_Step01_BasicUsage.csproj index 09037b5f1d..b83a44e2b7 100644 --- a/dotnet/samples/GettingStarted/DevUI/DevUI_Step01_BasicUsage/DevUI_Step01_BasicUsage.csproj +++ b/dotnet/samples/GettingStarted/DevUI/DevUI_Step01_BasicUsage/DevUI_Step01_BasicUsage.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable DevUI_Step01_BasicUsage diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step01.1_Basics/FoundryAgents_Step01.1_Basics.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step01.1_Basics/FoundryAgents_Step01.1_Basics.csproj index 89b9d8ddc0..f1135f4f6b 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step01.1_Basics/FoundryAgents_Step01.1_Basics.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step01.1_Basics/FoundryAgents_Step01.1_Basics.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable $(NoWarn);IDE0059 diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step01.2_Running/FoundryAgents_Step01.2_Running.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step01.2_Running/FoundryAgents_Step01.2_Running.csproj index daf7e24494..78f4545779 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step01.2_Running/FoundryAgents_Step01.2_Running.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step01.2_Running/FoundryAgents_Step01.2_Running.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step02_MultiturnConversation/FoundryAgents_Step02_MultiturnConversation.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step02_MultiturnConversation/FoundryAgents_Step02_MultiturnConversation.csproj index daf7e24494..78f4545779 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step02_MultiturnConversation/FoundryAgents_Step02_MultiturnConversation.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step02_MultiturnConversation/FoundryAgents_Step02_MultiturnConversation.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step03_UsingFunctionTools/FoundryAgents_Step03_UsingFunctionTools.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step03_UsingFunctionTools/FoundryAgents_Step03_UsingFunctionTools.csproj index daf7e24494..78f4545779 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step03_UsingFunctionTools/FoundryAgents_Step03_UsingFunctionTools.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step03_UsingFunctionTools/FoundryAgents_Step03_UsingFunctionTools.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step04_UsingFunctionToolsWithApprovals/FoundryAgents_Step04_UsingFunctionToolsWithApprovals.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step04_UsingFunctionToolsWithApprovals/FoundryAgents_Step04_UsingFunctionToolsWithApprovals.csproj index daf7e24494..78f4545779 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step04_UsingFunctionToolsWithApprovals/FoundryAgents_Step04_UsingFunctionToolsWithApprovals.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step04_UsingFunctionToolsWithApprovals/FoundryAgents_Step04_UsingFunctionToolsWithApprovals.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step05_StructuredOutput/FoundryAgents_Step05_StructuredOutput.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step05_StructuredOutput/FoundryAgents_Step05_StructuredOutput.csproj index daf7e24494..78f4545779 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step05_StructuredOutput/FoundryAgents_Step05_StructuredOutput.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step05_StructuredOutput/FoundryAgents_Step05_StructuredOutput.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step06_PersistedConversations/FoundryAgents_Step06_PersistedConversations.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step06_PersistedConversations/FoundryAgents_Step06_PersistedConversations.csproj index daf7e24494..78f4545779 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step06_PersistedConversations/FoundryAgents_Step06_PersistedConversations.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step06_PersistedConversations/FoundryAgents_Step06_PersistedConversations.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step07_Observability/FoundryAgents_Step07_Observability.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step07_Observability/FoundryAgents_Step07_Observability.csproj index 5ceeabb204..09e36f262f 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step07_Observability/FoundryAgents_Step07_Observability.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step07_Observability/FoundryAgents_Step07_Observability.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step08_DependencyInjection/FoundryAgents_Step08_DependencyInjection.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step08_DependencyInjection/FoundryAgents_Step08_DependencyInjection.csproj index f1812befeb..a9f8bb982f 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step08_DependencyInjection/FoundryAgents_Step08_DependencyInjection.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step08_DependencyInjection/FoundryAgents_Step08_DependencyInjection.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step09_UsingMcpClientAsTools/FoundryAgents_Step09_UsingMcpClientAsTools.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step09_UsingMcpClientAsTools/FoundryAgents_Step09_UsingMcpClientAsTools.csproj index a6d96cb3db..f63fa60d57 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step09_UsingMcpClientAsTools/FoundryAgents_Step09_UsingMcpClientAsTools.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step09_UsingMcpClientAsTools/FoundryAgents_Step09_UsingMcpClientAsTools.csproj @@ -2,11 +2,9 @@ Exe - net10.0 - + net10.0 enable enable - 3afc9b74-af74-4d8e-ae96-fa1c511d11ac diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step10_UsingImages/FoundryAgents_Step10_UsingImages.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step10_UsingImages/FoundryAgents_Step10_UsingImages.csproj index 53661ff199..4065dd31d5 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step10_UsingImages/FoundryAgents_Step10_UsingImages.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step10_UsingImages/FoundryAgents_Step10_UsingImages.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step11_AsFunctionTool/FoundryAgents_Step11_AsFunctionTool.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step11_AsFunctionTool/FoundryAgents_Step11_AsFunctionTool.csproj index 54f37f1aa6..d0460f6e92 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step11_AsFunctionTool/FoundryAgents_Step11_AsFunctionTool.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step11_AsFunctionTool/FoundryAgents_Step11_AsFunctionTool.csproj @@ -1,12 +1,10 @@ - + Exe - net10.0 - + net10.0 enable enable - 3afc9b74-af74-4d8e-ae96-fa1c511d11ac diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step12_Middleware/FoundryAgents_Step12_Middleware.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step12_Middleware/FoundryAgents_Step12_Middleware.csproj index 9f29a8d7e6..cfb603d791 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step12_Middleware/FoundryAgents_Step12_Middleware.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step12_Middleware/FoundryAgents_Step12_Middleware.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step13_Plugins/FoundryAgents_Step13_Plugins.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step13_Plugins/FoundryAgents_Step13_Plugins.csproj index 4a34560946..8f8152278b 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step13_Plugins/FoundryAgents_Step13_Plugins.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step13_Plugins/FoundryAgents_Step13_Plugins.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable $(NoWarn);CA1812 diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step14_CodeInterpreter/FoundryAgents_Step14_CodeInterpreter.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step14_CodeInterpreter/FoundryAgents_Step14_CodeInterpreter.csproj index 4a34560946..8f8152278b 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step14_CodeInterpreter/FoundryAgents_Step14_CodeInterpreter.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step14_CodeInterpreter/FoundryAgents_Step14_CodeInterpreter.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable $(NoWarn);CA1812 diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step15_ComputerUse/FoundryAgents_Step15_ComputerUse.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step15_ComputerUse/FoundryAgents_Step15_ComputerUse.csproj index 041c72c43e..04c3d70927 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step15_ComputerUse/FoundryAgents_Step15_ComputerUse.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step15_ComputerUse/FoundryAgents_Step15_ComputerUse.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable $(NoWarn);OPENAICUA001 @@ -19,13 +18,7 @@ - - Always - - - Always - - + Always diff --git a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step27_LocalMCP/FoundryAgents_Step27_LocalMCP.csproj b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step27_LocalMCP/FoundryAgents_Step27_LocalMCP.csproj index 1e3e6f57e3..4a6d292276 100644 --- a/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step27_LocalMCP/FoundryAgents_Step27_LocalMCP.csproj +++ b/dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step27_LocalMCP/FoundryAgents_Step27_LocalMCP.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable $(NoWarn);CA1812 diff --git a/dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server/Agent_MCP_Server.csproj b/dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server/Agent_MCP_Server.csproj index aa73860c14..42f9847edd 100644 --- a/dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server/Agent_MCP_Server.csproj +++ b/dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server/Agent_MCP_Server.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server_Auth/Agent_MCP_Server_Auth.csproj b/dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server_Auth/Agent_MCP_Server_Auth.csproj index 46c1306149..9c43f121d2 100644 --- a/dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server_Auth/Agent_MCP_Server_Auth.csproj +++ b/dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server_Auth/Agent_MCP_Server_Auth.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/ModelContextProtocol/FoundryAgent_Hosted_MCP/FoundryAgent_Hosted_MCP.csproj b/dotnet/samples/GettingStarted/ModelContextProtocol/FoundryAgent_Hosted_MCP/FoundryAgent_Hosted_MCP.csproj index d40e93232b..eb0110ef3a 100644 --- a/dotnet/samples/GettingStarted/ModelContextProtocol/FoundryAgent_Hosted_MCP/FoundryAgent_Hosted_MCP.csproj +++ b/dotnet/samples/GettingStarted/ModelContextProtocol/FoundryAgent_Hosted_MCP/FoundryAgent_Hosted_MCP.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/ModelContextProtocol/ResponseAgent_Hosted_MCP/ResponseAgent_Hosted_MCP.csproj b/dotnet/samples/GettingStarted/ModelContextProtocol/ResponseAgent_Hosted_MCP/ResponseAgent_Hosted_MCP.csproj index 41aafe3437..21c8399c40 100644 --- a/dotnet/samples/GettingStarted/ModelContextProtocol/ResponseAgent_Hosted_MCP/ResponseAgent_Hosted_MCP.csproj +++ b/dotnet/samples/GettingStarted/ModelContextProtocol/ResponseAgent_Hosted_MCP/ResponseAgent_Hosted_MCP.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj b/dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj index d0c0656ade..3b5514ac9b 100644 --- a/dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Agents/CustomAgentExecutors/CustomAgentExecutors.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Agents/FoundryAgent/FoundryAgent.csproj b/dotnet/samples/GettingStarted/Workflows/Agents/FoundryAgent/FoundryAgent.csproj index f75c7fd28b..a464f868f9 100644 --- a/dotnet/samples/GettingStarted/Workflows/Agents/FoundryAgent/FoundryAgent.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Agents/FoundryAgent/FoundryAgent.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Agents/GroupChatToolApproval/GroupChatToolApproval.csproj b/dotnet/samples/GettingStarted/Workflows/Agents/GroupChatToolApproval/GroupChatToolApproval.csproj index d0c0656ade..3b5514ac9b 100644 --- a/dotnet/samples/GettingStarted/Workflows/Agents/GroupChatToolApproval/GroupChatToolApproval.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Agents/GroupChatToolApproval/GroupChatToolApproval.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj b/dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj index d0c0656ade..3b5514ac9b 100644 --- a/dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Agents/WorkflowAsAnAgent/WorkflowAsAnAgent.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointAndRehydrate/CheckpointAndRehydrate.csproj b/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointAndRehydrate/CheckpointAndRehydrate.csproj index 2f41070759..9e6836e0c2 100644 --- a/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointAndRehydrate/CheckpointAndRehydrate.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointAndRehydrate/CheckpointAndRehydrate.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointAndResume/CheckpointAndResume.csproj b/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointAndResume/CheckpointAndResume.csproj index 2f41070759..9e6836e0c2 100644 --- a/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointAndResume/CheckpointAndResume.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointAndResume/CheckpointAndResume.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointWithHumanInTheLoop/CheckpointWithHumanInTheLoop.csproj b/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointWithHumanInTheLoop/CheckpointWithHumanInTheLoop.csproj index 2f41070759..9e6836e0c2 100644 --- a/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointWithHumanInTheLoop/CheckpointWithHumanInTheLoop.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Checkpoint/CheckpointWithHumanInTheLoop/CheckpointWithHumanInTheLoop.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj b/dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj index e756a0bf1d..3b5514ac9b 100644 --- a/dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Concurrent/Concurrent/Concurrent.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Concurrent/MapReduce/MapReduce.csproj b/dotnet/samples/GettingStarted/Workflows/Concurrent/MapReduce/MapReduce.csproj index fd311b7be3..9bce898391 100644 --- a/dotnet/samples/GettingStarted/Workflows/Concurrent/MapReduce/MapReduce.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Concurrent/MapReduce/MapReduce.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable @@ -17,4 +16,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj index 422c1ca55f..02f1a6ab2e 100644 --- a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj +++ b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/01_EdgeCondition/01_EdgeCondition.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj index 422c1ca55f..02f1a6ab2e 100644 --- a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj +++ b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/02_SwitchCase/02_SwitchCase.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj index 422c1ca55f..02f1a6ab2e 100644 --- a/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj +++ b/dotnet/samples/GettingStarted/Workflows/ConditionalEdges/03_MultiSelection/03_MultiSelection.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/ConfirmInput/ConfirmInput.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/ConfirmInput/ConfirmInput.csproj index da32d18b99..c9aef2e9bb 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/ConfirmInput/ConfirmInput.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/ConfirmInput/ConfirmInput.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/CustomerSupport/CustomerSupport.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/CustomerSupport/CustomerSupport.csproj index 583dbc6e8f..747e7f4b6d 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/CustomerSupport/CustomerSupport.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/CustomerSupport/CustomerSupport.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 @@ -35,4 +36,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/DeepResearch/DeepResearch.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/DeepResearch/DeepResearch.csproj index 413fa56210..1d0bf78c47 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/DeepResearch/DeepResearch.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/DeepResearch/DeepResearch.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteCode/ExecuteCode.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteCode/ExecuteCode.csproj index 9725826c7a..339e81fa1d 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteCode/ExecuteCode.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteCode/ExecuteCode.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/ExecuteWorkflow.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/ExecuteWorkflow.csproj index 074a31121d..339e81fa1d 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/ExecuteWorkflow.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/ExecuteWorkflow/ExecuteWorkflow.csproj @@ -2,9 +2,10 @@ Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 $(NoWarn);CA1812 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/FunctionTools/FunctionTools.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/FunctionTools/FunctionTools.csproj index f8a51cb0f2..2c5ba3c6c3 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/FunctionTools/FunctionTools.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/FunctionTools/FunctionTools.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/GenerateCode/GenerateCode.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/GenerateCode/GenerateCode.csproj index 117e27abd8..699e46f601 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/GenerateCode/GenerateCode.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/GenerateCode/GenerateCode.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/HostedWorkflow/HostedWorkflow.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/HostedWorkflow/HostedWorkflow.csproj index 3cbd0ada95..2917b6a9a9 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/HostedWorkflow/HostedWorkflow.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/HostedWorkflow/HostedWorkflow.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 $(NoWarn);CA1812 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/HostedWorkflow/Program.cs b/dotnet/samples/GettingStarted/Workflows/Declarative/HostedWorkflow/Program.cs index 2cf24a137b..044d557156 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/HostedWorkflow/Program.cs +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/HostedWorkflow/Program.cs @@ -15,7 +15,7 @@ namespace Demo.DeclarativeWorkflow; /// -/// %%% COMMENT +/// Demonstrate how to create a hosted workflow and invoke it as an agent in a console application. /// /// /// Configuration diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/InputArguments/InputArguments.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/InputArguments/InputArguments.csproj index 5ef0b7e99e..6ac2ca4421 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/InputArguments/InputArguments.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/InputArguments/InputArguments.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/Marketing/Marketing.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/Marketing/Marketing.csproj index ceba7b740b..fe0ce1993b 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/Marketing/Marketing.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/Marketing/Marketing.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/StudentTeacher.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/StudentTeacher.csproj index 862e39bd99..5366acbc82 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/StudentTeacher.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/StudentTeacher.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 @@ -35,4 +36,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/ToolApproval/ToolApproval.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/ToolApproval/ToolApproval.csproj index 1ebaa26645..a2fc9dcc01 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/ToolApproval/ToolApproval.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/ToolApproval/ToolApproval.csproj @@ -1,10 +1,11 @@ - + Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0 diff --git a/dotnet/samples/GettingStarted/Workflows/HumanInTheLoop/HumanInTheLoopBasic/HumanInTheLoopBasic.csproj b/dotnet/samples/GettingStarted/Workflows/HumanInTheLoop/HumanInTheLoopBasic/HumanInTheLoopBasic.csproj index 2f41070759..9e6836e0c2 100644 --- a/dotnet/samples/GettingStarted/Workflows/HumanInTheLoop/HumanInTheLoopBasic/HumanInTheLoopBasic.csproj +++ b/dotnet/samples/GettingStarted/Workflows/HumanInTheLoop/HumanInTheLoopBasic/HumanInTheLoopBasic.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Loop/Loop.csproj b/dotnet/samples/GettingStarted/Workflows/Loop/Loop.csproj index 0de620de0c..1cb5eedb82 100644 --- a/dotnet/samples/GettingStarted/Workflows/Loop/Loop.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Loop/Loop.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Observability/ApplicationInsights/ApplicationInsights.csproj b/dotnet/samples/GettingStarted/Workflows/Observability/ApplicationInsights/ApplicationInsights.csproj index 4c91a01fad..2baa947e49 100644 --- a/dotnet/samples/GettingStarted/Workflows/Observability/ApplicationInsights/ApplicationInsights.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Observability/ApplicationInsights/ApplicationInsights.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable @@ -21,4 +20,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/GettingStarted/Workflows/Observability/AspireDashboard/AspireDashboard.csproj b/dotnet/samples/GettingStarted/Workflows/Observability/AspireDashboard/AspireDashboard.csproj index 57b34f3d69..f145b7b200 100644 --- a/dotnet/samples/GettingStarted/Workflows/Observability/AspireDashboard/AspireDashboard.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Observability/AspireDashboard/AspireDashboard.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable @@ -22,4 +21,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj b/dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj index 400142fc4b..c188de6942 100644 --- a/dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Observability/WorkflowAsAnAgent/WorkflowAsAnAgentObservability.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/SharedStates/SharedStates.csproj b/dotnet/samples/GettingStarted/Workflows/SharedStates/SharedStates.csproj index 35f87e7ebe..81992d29f0 100644 --- a/dotnet/samples/GettingStarted/Workflows/SharedStates/SharedStates.csproj +++ b/dotnet/samples/GettingStarted/Workflows/SharedStates/SharedStates.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/Visualization/Visualization.csproj b/dotnet/samples/GettingStarted/Workflows/Visualization/Visualization.csproj index 57b1fef0e1..03889d36a1 100644 --- a/dotnet/samples/GettingStarted/Workflows/Visualization/Visualization.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Visualization/Visualization.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/01_ExecutorsAndEdges/01_ExecutorsAndEdges.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/01_ExecutorsAndEdges/01_ExecutorsAndEdges.csproj index 2f41070759..9e6836e0c2 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/01_ExecutorsAndEdges/01_ExecutorsAndEdges.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/01_ExecutorsAndEdges/01_ExecutorsAndEdges.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/02_Streaming/02_Streaming.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/02_Streaming/02_Streaming.csproj index 2f41070759..9e6836e0c2 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/02_Streaming/02_Streaming.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/02_Streaming/02_Streaming.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj index d0c0656ade..3b5514ac9b 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/03_AgentsInWorkflows/03_AgentsInWorkflows.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj index d0c0656ade..3b5514ac9b 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/04_AgentWorkflowPatterns/04_AgentWorkflowPatterns.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj index bc5cc0d67d..b6b53d7434 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/05_MultiModelService/05_MultiModelService.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj index 6c33744eee..1cbc2486c9 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/06_SubWorkflows/06_SubWorkflows.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable @@ -13,4 +12,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj index d0c0656ade..3b5514ac9b 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/07_MixedWorkflowAgentsAndExecutors/07_MixedWorkflowAgentsAndExecutors.csproj @@ -2,8 +2,7 @@ Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj b/dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj index d7804cef4e..1bbcbf7260 100644 --- a/dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj +++ b/dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/08_WriterCriticWorkflow.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 WriterCriticWorkflow enable enable @@ -20,4 +20,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/HostedAgents/AgentWithHostedMCP/AgentWithHostedMCP.csproj b/dotnet/samples/HostedAgents/AgentWithHostedMCP/AgentWithHostedMCP.csproj index b00e4a48de..54a4df34dc 100644 --- a/dotnet/samples/HostedAgents/AgentWithHostedMCP/AgentWithHostedMCP.csproj +++ b/dotnet/samples/HostedAgents/AgentWithHostedMCP/AgentWithHostedMCP.csproj @@ -1,19 +1,20 @@ - + Exe - net10.0 - + net10.0 enable enable + + + Disable central package management for this project. + This project requires explicit package references with versions specified inline rather than + inheriting them from Directory.Packages.props. This is necessary because a Docker image will + be created from this project, and the Docker build process only has access to this folder + and cannot access parent folders where Directory.Packages.props resides. + --> false diff --git a/dotnet/samples/HostedAgents/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj b/dotnet/samples/HostedAgents/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj index 03ffaf1824..380e3300ea 100644 --- a/dotnet/samples/HostedAgents/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj +++ b/dotnet/samples/HostedAgents/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj @@ -1,19 +1,20 @@ - + Exe - net10.0 - + net10.0 enable enable + + + --> false diff --git a/dotnet/samples/HostedAgents/AgentsInWorkflows/AgentsInWorkflows.csproj b/dotnet/samples/HostedAgents/AgentsInWorkflows/AgentsInWorkflows.csproj index a434e07d33..51e6d581f5 100644 --- a/dotnet/samples/HostedAgents/AgentsInWorkflows/AgentsInWorkflows.csproj +++ b/dotnet/samples/HostedAgents/AgentsInWorkflows/AgentsInWorkflows.csproj @@ -1,19 +1,20 @@ - + Exe - net10.0 - + net10.0 enable enable + - + --> false diff --git a/dotnet/samples/M365Agent/M365Agent.csproj b/dotnet/samples/M365Agent/M365Agent.csproj index f40d404204..e33e2b312c 100644 --- a/dotnet/samples/M365Agent/M365Agent.csproj +++ b/dotnet/samples/M365Agent/M365Agent.csproj @@ -1,8 +1,8 @@ - + Exe - net10.0 + net10.0 enable enable b842df34-390f-490d-9dc0-73909363ad16 @@ -26,4 +26,4 @@ - \ No newline at end of file + diff --git a/dotnet/samples/Purview/AgentWithPurview/AgentWithPurview.csproj b/dotnet/samples/Purview/AgentWithPurview/AgentWithPurview.csproj index 0a79857d64..78751a1c6b 100644 --- a/dotnet/samples/Purview/AgentWithPurview/AgentWithPurview.csproj +++ b/dotnet/samples/Purview/AgentWithPurview/AgentWithPurview.csproj @@ -1,9 +1,8 @@ - + Exe - net10.0 - + net10.0 enable enable diff --git a/dotnet/src/Shared/Demos/README.md b/dotnet/src/Shared/Demos/README.md deleted file mode 100644 index 31380fab72..0000000000 --- a/dotnet/src/Shared/Demos/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Demos - -Contains a helper that adds an override `System.Environment` class to a project. -This override version has an enhanced `GetEnvironmentVariable` method that prompts the user -to enter a value if the environment variable is not set. - -The code is still fully copyable to another project. These sample projects just allow for a simplified user experience -for users who are new and just getting started. - -To use this in your project, add the following to your `.csproj` file: - -```xml - - - - - - - -``` diff --git a/dotnet/src/Shared/Samples/BaseSample.cs b/dotnet/src/Shared/Samples/BaseSample.cs deleted file mode 100644 index 90c2d991a8..0000000000 --- a/dotnet/src/Shared/Samples/BaseSample.cs +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright (c) Microsoft. All rights reserved. - -using System.Reflection; -using System.Text; -using System.Text.Json; -using Microsoft.Agents.AI; -using Microsoft.Extensions.AI; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Logging; -using Microsoft.Shared.Samples; - -namespace Microsoft.Shared.SampleUtilities; - -/// -/// Provides a base class for test implementations that integrate with xUnit's and -/// logging infrastructure. This class also supports redirecting output to the test output -/// for improved debugging and test output visibility. -/// -/// -/// This class is designed to simplify the creation of test cases by providing access to logging and -/// configuration utilities, as well as enabling Console-friendly behavior for test samples. Derived classes can use -/// the property for writing test output and the property for creating -/// loggers. -/// -public abstract class BaseSample : TextWriter -{ - /// - /// Gets the output helper used for logging test results and diagnostic messages. - /// - protected ITestOutputHelper Output { get; } - - /// - /// Gets the instance used to create loggers for logging operations. - /// - protected ILoggerFactory LoggerFactory { get; } - - /// - /// This property makes the samples Console friendly. Allowing them to be copied and pasted into a Console app, with minimal changes. - /// - public BaseSample Console => this; - - /// - public override Encoding Encoding => Encoding.UTF8; - - /// - /// Initializes a new instance of the class, setting up logging, configuration, and - /// optionally redirecting output to the test output. - /// - /// This constructor initializes logging using an and sets up - /// configuration from multiple sources, including a JSON file, environment variables, and user secrets. - /// If is , calls to - /// will be redirected to the test output provided by . - /// - /// The instance used to write test output. - /// - /// A value indicating whether output should be redirected to the test output. to redirect; otherwise, . - /// - protected BaseSample(ITestOutputHelper output, bool redirectSystemConsoleOutput = true) - { - this.Output = output; - this.LoggerFactory = new XunitLogger(output); - - IConfigurationRoot configRoot = new ConfigurationBuilder() - .AddJsonFile("appsettings.Development.json", true) - .AddEnvironmentVariables() - .AddUserSecrets(Assembly.GetExecutingAssembly()) - .Build(); - - TestConfiguration.Initialize(configRoot); - - // Redirect System.Console output to the test output if requested - if (redirectSystemConsoleOutput) - { - System.Console.SetOut(this); - } - } - - /// - /// Writes a user message to the console. - /// - /// The text of the message to be sent. Cannot be null or empty. - protected void WriteUserMessage(string message) => - this.WriteMessageOutput(new ChatMessage(ChatRole.User, message)); - - /// - /// Processes and writes the latest agent chat response to the console, including metadata and content details. - /// - /// This method formats and outputs the most recent message from the provided object. It includes the message role, author name (if available), text content, and - /// additional content such as images, function calls, and function results. Usage statistics, including token - /// counts, are also displayed. - /// The object containing the chat messages and usage data. - /// The flag to indicate whether to print usage information. Defaults to . - protected void WriteResponseOutput(AgentResponse response, bool? printUsage = true) - { - if (response.Messages.Count == 0) - { - // If there are no messages, we can skip writing the message. - return; - } - - var message = response.Messages.Last(); - this.WriteMessageOutput(message); - - WriteUsage(); - - void WriteUsage() - { - if (!(printUsage ?? true) || response.Usage is null) { return; } - - UsageDetails usageDetails = response.Usage; - - Console.WriteLine($" [Usage] Tokens: {usageDetails.TotalTokenCount}, Input: {usageDetails.InputTokenCount}, Output: {usageDetails.OutputTokenCount}"); - } - } - - /// - /// Writes the given chat message to the console. - /// - /// The specified message - protected void WriteMessageOutput(ChatMessage message) - { - string authorExpression = message.Role == ChatRole.User ? string.Empty : FormatAuthor(); - string contentExpression = message.Text.Trim(); - const bool IsCode = false; //message.AdditionalProperties?.ContainsKey(OpenAIAssistantAgent.CodeInterpreterMetadataKey) ?? false; - const string CodeMarker = IsCode ? "\n [CODE]\n" : " "; - Console.WriteLine($"\n# {message.Role}{authorExpression}:{CodeMarker}{contentExpression}"); - - // Provide visibility for inner content (that isn't TextContent). - foreach (AIContent item in message.Contents) - { - if (item is DataContent image && image.HasTopLevelMediaType("image")) - { - Console.WriteLine($" [{item.GetType().Name}] {image.Uri?.ToString() ?? image.Uri ?? $"{image.Data.Length} bytes"}"); - } - else if (item is FunctionCallContent functionCall) - { - Console.WriteLine($" [{item.GetType().Name}] {functionCall.CallId}"); - } - else if (item is FunctionResultContent functionResult) - { - Console.WriteLine($" [{item.GetType().Name}] {functionResult.CallId} - {AsJson(functionResult.Result) ?? "*"}"); - } - } - - string FormatAuthor() => message.AuthorName is not null ? $" - {message.AuthorName ?? " * "}" : string.Empty; - } - - /// - /// Writes the streaming agent response updates to the console. - /// - /// This method formats and outputs the most recent message from the provided object. It includes the message role, author name (if available), text content, and - /// additional content such as images, function calls, and function results. Usage statistics, including token - /// counts, are also displayed. - /// The object containing the chat messages and usage data. - protected void WriteAgentOutput(AgentResponseUpdate update) - { - if (update.Contents.Count == 0) - { - // If there are no contents, we can skip writing the message. - return; - } - - string authorExpression = update.Role == ChatRole.User ? string.Empty : FormatAuthor(); - string contentExpression = string.IsNullOrWhiteSpace(update.Text) ? string.Empty : update.Text; - const bool IsCode = false; //message.AdditionalProperties?.ContainsKey(OpenAIAssistantAgent.CodeInterpreterMetadataKey) ?? false; - const string CodeMarker = IsCode ? "\n [CODE]\n" : " "; - Console.WriteLine($"\n# {update.Role}{authorExpression}:{CodeMarker}{contentExpression}"); - - // Provide visibility for inner content (that isn't TextContent). - foreach (AIContent item in update.Contents) - { - if (item is DataContent image && image.HasTopLevelMediaType("image")) - { - Console.WriteLine($" [{item.GetType().Name}] {image.Uri?.ToString() ?? image.Uri ?? $"{image.Data.Length} bytes"}"); - } - else if (item is FunctionCallContent functionCall) - { - Console.WriteLine($" [{item.GetType().Name}] {functionCall.CallId}"); - } - else if (item is FunctionResultContent functionResult) - { - Console.WriteLine($" [{item.GetType().Name}] {functionResult.CallId} - {AsJson(functionResult.Result) ?? "*"}"); - } - else if (item is UsageContent usage) - { - Console.WriteLine(" [Usage] Tokens: {0}, Input: {1}, Output: {2}", - usage?.Details?.TotalTokenCount ?? 0, - usage?.Details?.InputTokenCount ?? 0, - usage?.Details?.OutputTokenCount ?? 0); - } - } - - string FormatAuthor() => update.AuthorName is not null ? $" - {update.AuthorName ?? " * "}" : string.Empty; - } - - private static readonly JsonSerializerOptions s_jsonOptionsCache = new() { WriteIndented = true }; - - private static string? AsJson(object? obj) - { - if (obj is null) { return null; } - return JsonSerializer.Serialize(obj, s_jsonOptionsCache); - } - - /// - public override void WriteLine(object? value = null) - => this.Output.WriteLine(value ?? string.Empty); - - /// - public override void WriteLine(string? format, params object?[] arg) - => this.Output.WriteLine(format ?? string.Empty, arg); - - /// - public override void WriteLine(string? value) - => this.Output.WriteLine(value ?? string.Empty); - - /// - public override void Write(object? value = null) - => this.Output.WriteLine(value ?? string.Empty); - - /// - public override void Write(char[]? buffer) - => this.Output.WriteLine(new string(buffer)); -} diff --git a/dotnet/src/Shared/Samples/OrchestrationSample.cs b/dotnet/src/Shared/Samples/OrchestrationSample.cs deleted file mode 100644 index 6eb8b5f886..0000000000 --- a/dotnet/src/Shared/Samples/OrchestrationSample.cs +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright (c) Microsoft. All rights reserved. - -using System.Text; -using System.Text.Json; -using Microsoft.Agents.AI; -using Microsoft.Extensions.AI; -using Microsoft.Shared.Samples; -using OpenAIClient = OpenAI.OpenAIClient; - -namespace Microsoft.Shared.SampleUtilities; - -/// -/// Provides a base class for orchestration samples that demonstrates agent orchestration scenarios. -/// Inherits from and provides utility methods for creating agents, chat clients, -/// and writing responses to the console or test output. -/// -public abstract class OrchestrationSample : BaseSample -{ - /// - /// Creates a new instance using the specified instructions, description, name, and functions. - /// - /// The instructions to provide to the agent. - /// An optional description for the agent. - /// An optional name for the agent. - /// A set of instances to be used as tools by the agent. - /// A new instance configured with the provided parameters. - protected static ChatClientAgent CreateAgent(string instructions, string? description = null, string? name = null, params AIFunction[] functions) => - new(CreateChatClient(), new ChatClientAgentOptions() - { - Name = name, - Description = description, - Instructions = instructions, - ChatOptions = new() { Tools = functions, ToolMode = ChatToolMode.Auto } - }); - - /// - /// Creates and configures a new instance using the OpenAI client and test configuration. - /// - /// A configured instance ready for use with agents. - protected static IChatClient CreateChatClient() => new OpenAIClient(TestConfiguration.OpenAI.ApiKey) - .GetChatClient(TestConfiguration.OpenAI.ChatModelId) - .AsIChatClient() - .AsBuilder() - .UseFunctionInvocation() - .Build(); - - /// - /// Display the provided history. - /// - /// The history to display - protected void DisplayHistory(IEnumerable history) - { - Console.WriteLine("\n\nORCHESTRATION HISTORY"); - foreach (ChatMessage message in history) - { - this.WriteMessageOutput(message); - } - } - - /// - /// Writes the provided messages to the console or test output, including role and author information. - /// - /// An enumerable of objects to write. - protected static void WriteResponse(IEnumerable response) - { - foreach (ChatMessage message in response) - { - if (!string.IsNullOrEmpty(message.Text)) - { - System.Console.WriteLine($"\n# RESPONSE {message.Role}{(message.AuthorName is not null ? $" - {message.AuthorName}" : string.Empty)}: {message}"); - } - } - } - - /// - /// Writes the streamed agent run response updates to the console or test output, including role and author information. - /// - /// An enumerable of objects representing streamed responses. - protected static void WriteStreamedResponse(IEnumerable streamedResponses) - { - string? authorName = null; - ChatRole? authorRole = null; - StringBuilder builder = new(); - foreach (AgentResponseUpdate response in streamedResponses) - { - authorName ??= response.AuthorName; - authorRole ??= response.Role; - - if (!string.IsNullOrEmpty(response.Text)) - { - builder.Append($"({JsonSerializer.Serialize(response.Text)})"); - } - } - - if (builder.Length > 0) - { - System.Console.WriteLine($"\n# STREAMED {authorRole ?? ChatRole.Assistant}{(authorName is not null ? $" - {authorName}" : string.Empty)}: {builder}\n"); - } - } - - /// - /// Provides monitoring and callback functionality for orchestration scenarios, including tracking streamed responses and message history. - /// - protected sealed class OrchestrationMonitor - { - /// - /// Gets the list of streamed response updates received so far. - /// - public List StreamedResponses { get; } = []; - - /// - /// Gets the list of chat messages representing the conversation history. - /// - public List History { get; } = []; - - /// - /// Callback to handle a batch of chat messages, adding them to history and writing them to output. - /// - /// The collection of objects to process. - /// A representing the asynchronous operation. - public ValueTask ResponseCallbackAsync(IEnumerable response) - { - WriteStreamedResponse(this.StreamedResponses); - this.StreamedResponses.Clear(); - - this.History.AddRange(response); - WriteResponse(response); - return default; - } - - /// - /// Callback to handle a streamed agent run response update, adding it to the list and writing output if final. - /// - /// The to process. - /// A representing the asynchronous operation. - public ValueTask StreamingResultCallbackAsync(AgentResponseUpdate streamedResponse) - { - this.StreamedResponses.Add(streamedResponse); - return default; - } - } - - /// - /// Initializes a new instance of the class, setting up logging, configuration, and - /// optionally redirecting output to the test output. - /// - /// This constructor initializes logging using an and sets up - /// configuration from multiple sources, including a JSON file, environment variables, and user secrets. - /// If is , calls to - /// will be redirected to the test output provided by . - /// - /// The instance used to write test output. - /// - /// A value indicating whether output should be redirected to the test output. to redirect; otherwise, . - /// - protected OrchestrationSample(ITestOutputHelper output, bool redirectSystemConsoleOutput = true) - : base(output, redirectSystemConsoleOutput) - { - } -} diff --git a/dotnet/src/Shared/Samples/README.md b/dotnet/src/Shared/Samples/README.md index 48200dc628..eaf382b994 100644 --- a/dotnet/src/Shared/Samples/README.md +++ b/dotnet/src/Shared/Samples/README.md @@ -1,11 +1,22 @@ -# Throw +# SampleEnvironemnt.cs -Efficient sample project utilities. +`SampleEnvironemnt.cs` defines a helper that overrides `System.Environment` class for a project. +This override version has an enhanced `GetEnvironmentVariable` method that prompts the user +to enter a value if the environment variable is not set. -To use this in your project, add the following to your `.csproj` file: +Sample code is still fully copyable to another project. This override just allow for a simplified experience +for users who are new and just getting started. + +This file is already included in all samples via `/dotnet/samples/Directory.Build.props`. + +To explicitly use `SampleEnvironemnt.cs` outside of this repo, add the following to your `.csproj` file: ```xml - - true - + + + + + + + ``` diff --git a/dotnet/src/Shared/Demos/SampleEnvironment.cs b/dotnet/src/Shared/Samples/SampleEnvironment.cs similarity index 60% rename from dotnet/src/Shared/Demos/SampleEnvironment.cs rename to dotnet/src/Shared/Samples/SampleEnvironment.cs index 850ab2da62..ef86beaea9 100644 --- a/dotnet/src/Shared/Demos/SampleEnvironment.cs +++ b/dotnet/src/Shared/Samples/SampleEnvironment.cs @@ -3,65 +3,68 @@ #pragma warning disable IDE0005 // Using directive is unnecessary. - need to suppress this, since this file is used in both projects with implicit usings and without. using System; -using System.Collections; +using System.Collections.Generic; +using IDictionary = System.Collections.IDictionary; using SystemEnvironment = System.Environment; namespace SampleHelpers; internal static class SampleEnvironment { + private static readonly HashSet s_affirmativeValues = new(StringComparer.OrdinalIgnoreCase) { "TRUE", "Y", "YES" }; + public static string? GetEnvironmentVariable(string key) => GetEnvironmentVariable(key, EnvironmentVariableTarget.Process); public static string? GetEnvironmentVariable(string key, EnvironmentVariableTarget target) { // Allows for opting into showing all setting values in the console output, so that it is easy to troubleshoot sample setup issues. - var showAllSampleValues = SystemEnvironment.GetEnvironmentVariable("AF_SHOW_ALL_DEMO_SETTING_VALUES", target); - var shouldShowValue = showAllSampleValues?.ToUpperInvariant() == "Y"; + string? showAllSampleValues = SystemEnvironment.GetEnvironmentVariable("AF_SHOW_ALL_DEMO_SETTING_VALUES", target); + bool shouldShowValue = s_affirmativeValues.Contains(showAllSampleValues ?? string.Empty); - var value = SystemEnvironment.GetEnvironmentVariable(key, target); - if (string.IsNullOrWhiteSpace(value)) + string? value = SystemEnvironment.GetEnvironmentVariable(key, target); + ConsoleColor color = Console.ForegroundColor; + try { - var color = Console.ForegroundColor; - Console.ForegroundColor = ConsoleColor.Green; - Console.Write("Setting '"); - Console.ForegroundColor = ConsoleColor.Yellow; - Console.Write(key); - Console.ForegroundColor = ConsoleColor.Green; - Console.WriteLine("' is not set in environment variables."); - - Console.ForegroundColor = ConsoleColor.Green; - Console.Write("Please provide the setting for '"); - Console.ForegroundColor = ConsoleColor.Yellow; - Console.Write(key); - Console.ForegroundColor = ConsoleColor.Green; - Console.Write("'. Just press enter to accept the default. > "); - Console.ForegroundColor = color; - value = Console.ReadLine(); - value = string.IsNullOrWhiteSpace(value) ? null : value.Trim(); + if (string.IsNullOrWhiteSpace(value)) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.Write("Setting '"); + Console.ForegroundColor = ConsoleColor.Yellow; + Console.Write(key); + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("' is not defined as an environment variable."); + + Console.ForegroundColor = ConsoleColor.Green; + Console.Write("Please provide the desired value for '"); + Console.ForegroundColor = ConsoleColor.Yellow; + Console.Write(key); + Console.ForegroundColor = ConsoleColor.Green; + Console.Write("' or press enter to accept the default: "); + Console.ForegroundColor = ConsoleColor.Yellow; + + value = Console.ReadLine(); + value = string.IsNullOrWhiteSpace(value) ? null : value.Trim(); + } + else if (shouldShowValue) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.Write("Using setting '"); + Console.ForegroundColor = ConsoleColor.Yellow; + Console.Write(key); + Console.ForegroundColor = ConsoleColor.Green; + Console.Write("' with value='"); + Console.ForegroundColor = ConsoleColor.Yellow; + Console.Write(value); + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("'"); + } Console.WriteLine(); } - else if (shouldShowValue) + finally { - var color = Console.ForegroundColor; - Console.ForegroundColor = ConsoleColor.Green; - Console.Write("Using setting: Source="); - Console.ForegroundColor = ConsoleColor.Yellow; - Console.Write("EnvironmentVariables"); - Console.ForegroundColor = ConsoleColor.Green; - Console.Write(", Key='"); - Console.ForegroundColor = ConsoleColor.Yellow; - Console.Write(key); - Console.ForegroundColor = ConsoleColor.Green; - Console.Write("', Value='"); - Console.ForegroundColor = ConsoleColor.Yellow; - Console.Write(value); - Console.ForegroundColor = ConsoleColor.Green; - Console.WriteLine("'"); Console.ForegroundColor = color; - - Console.WriteLine(); } return value; diff --git a/dotnet/src/Shared/Samples/TestConfiguration.cs b/dotnet/src/Shared/Samples/TestConfiguration.cs deleted file mode 100644 index ec85a97a1e..0000000000 --- a/dotnet/src/Shared/Samples/TestConfiguration.cs +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright (c) Microsoft. All rights reserved. - -using System.Runtime.CompilerServices; -using Microsoft.Extensions.Configuration; - -namespace Microsoft.Shared.Samples; - -#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable. - -/// -/// Provides access to application configuration settings. -/// -public sealed class TestConfiguration -{ - /// Gets the configuration settings for the OpenAI integration. - public static OpenAIConfig OpenAI => LoadSection(); - - /// Gets the configuration settings for the Azure OpenAI integration. - public static AzureOpenAIConfig AzureOpenAI => LoadSection(); - - /// Gets the configuration settings for the AzureAI integration. - public static AzureAIConfig AzureAI => LoadSection(); - - /// Represents the configuration settings required to interact with the OpenAI service. - public class OpenAIConfig - { - /// Gets or sets the identifier for the chat completion model used in the application. - public string ChatModelId { get; set; } - - /// Gets or sets the API key used for authentication with the OpenAI service. - public string ApiKey { get; set; } - } - - /// - /// Represents the configuration settings required to interact with the Azure OpenAI service. - /// - public class AzureOpenAIConfig - { - /// Gets the URI endpoint used to connect to the service. - public Uri Endpoint { get; set; } - - /// Gets or sets the name of the deployment. - public string DeploymentName { get; set; } - - /// Gets or sets the API key used for authentication with the OpenAI service. - public string? ApiKey { get; set; } - } - - /// Represents the configuration settings required to interact with the Azure AI service. - public sealed class AzureAIConfig - { - /// Gets or sets the endpoint of Azure AI Foundry project. - public string? Endpoint { get; set; } - - /// Gets or sets the name of the model deployment. - public string? DeploymentName { get; set; } - } - - /// - /// Initializes the configuration system with the specified configuration root. - /// - /// The root of the configuration hierarchy used to initialize the system. Must not be . - public static void Initialize(IConfigurationRoot configRoot) => - s_instance = new TestConfiguration(configRoot); - - #region Private Members - - private readonly IConfigurationRoot _configRoot; - private static TestConfiguration? s_instance; - - private TestConfiguration(IConfigurationRoot configRoot) - { - this._configRoot = configRoot; - } - - private static T LoadSection([CallerMemberName] string? caller = null) - { - if (s_instance is null) - { - throw new InvalidOperationException( - "TestConfiguration must be initialized with a call to Initialize(IConfigurationRoot) before accessing configuration values."); - } - - if (string.IsNullOrEmpty(caller)) - { - throw new ArgumentNullException(nameof(caller)); - } - - return s_instance._configRoot.GetSection(caller).Get() ?? - throw new InvalidOperationException(caller); - } - - #endregion -} diff --git a/dotnet/src/Shared/Samples/TextOutputHelperExtensions.cs b/dotnet/src/Shared/Samples/TextOutputHelperExtensions.cs deleted file mode 100644 index c1535af0dc..0000000000 --- a/dotnet/src/Shared/Samples/TextOutputHelperExtensions.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft. All rights reserved. - -namespace Microsoft.Shared.SampleUtilities; - -/// -/// Extensions for to make it more Console friendly. -/// -public static class TextOutputHelperExtensions -{ - /// - /// Current interface ITestOutputHelper does not have a WriteLine method that takes an object. This extension method adds it to make it analogous to Console.WriteLine when used in Console apps. - /// - /// Target - /// Target object to write - public static void WriteLine(this ITestOutputHelper testOutputHelper, object target) => - testOutputHelper.WriteLine(target.ToString()); - - /// - /// Current interface ITestOutputHelper does not have a WriteLine method that takes no parameters. This extension method adds it to make it analogous to Console.WriteLine when used in Console apps. - /// - /// Target - public static void WriteLine(this ITestOutputHelper testOutputHelper) => - testOutputHelper.WriteLine(string.Empty); - - /// - /// Current interface ITestOutputHelper does not have a Write method that takes no parameters. This extension method adds it to make it analogous to Console.Write when used in Console apps. - /// - /// Target - public static void Write(this ITestOutputHelper testOutputHelper) => - testOutputHelper.WriteLine(string.Empty); - - /// - /// Current interface ITestOutputHelper does not have a Write method. This extension method adds it to make it analogous to Console.Write when used in Console apps. - /// - /// Target - /// Target object to write - public static void Write(this ITestOutputHelper testOutputHelper, object target) => - testOutputHelper.WriteLine(target.ToString()); -} diff --git a/dotnet/src/Shared/Samples/XunitLogger.cs b/dotnet/src/Shared/Samples/XunitLogger.cs deleted file mode 100644 index 9be281b3a3..0000000000 --- a/dotnet/src/Shared/Samples/XunitLogger.cs +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) Microsoft. All rights reserved. - -using Microsoft.Extensions.Logging; - -namespace Microsoft.Shared.SampleUtilities; - -/// -/// A logger that writes to the Xunit test output -/// -internal sealed class XunitLogger(ITestOutputHelper output) : ILoggerFactory, ILogger, IDisposable -{ - private object? _scopeState; - - /// - public void Log(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func formatter) - { - var localState = state?.ToString(); - var line = this._scopeState is not null ? $"{this._scopeState} {localState}" : localState; - output.WriteLine(line); - } - - /// - public bool IsEnabled(LogLevel logLevel) => true; - - /// - public IDisposable BeginScope(TState state) where TState : notnull - { - this._scopeState = state; - return this; - } - - /// - public void Dispose() - { - // This class is marked as disposable to support the BeginScope method. - // However, there is no need to dispose anything. - } - - public ILogger CreateLogger(string categoryName) => this; - - public void AddProvider(ILoggerProvider provider) => throw new NotSupportedException(); -} From 4d19045cca38515980968e5e5e0664815846a52d Mon Sep 17 00:00:00 2001 From: Chris Rickman Date: Wed, 18 Feb 2026 19:40:51 -0800 Subject: [PATCH 2/2] Update new test --- .../Declarative/InvokeFunctionTool/InvokeFunctionTool.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotnet/samples/GettingStarted/Workflows/Declarative/InvokeFunctionTool/InvokeFunctionTool.csproj b/dotnet/samples/GettingStarted/Workflows/Declarative/InvokeFunctionTool/InvokeFunctionTool.csproj index 23e1c91e0a..e9701eb403 100644 --- a/dotnet/samples/GettingStarted/Workflows/Declarative/InvokeFunctionTool/InvokeFunctionTool.csproj +++ b/dotnet/samples/GettingStarted/Workflows/Declarative/InvokeFunctionTool/InvokeFunctionTool.csproj @@ -2,9 +2,10 @@ Exe - net10.0 + net10.0 enable enable + 5ee045b0-aea3-4f08-8d31-32d1a6f8fed0