Skip to content

Commit da785c6

Browse files
committed
Cleanups
1 parent e96df1a commit da785c6

File tree

28 files changed

+148
-119
lines changed

28 files changed

+148
-119
lines changed

dotnet/agent-framework-dotnet.slnx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,29 @@
7777
<Project Path="samples/GettingStarted/Agents/Agent_Step17_BackgroundResponses/Agent_Step17_BackgroundResponses.csproj" />
7878
<Project Path="samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj" />
7979
</Folder>
80+
<Folder Name="/Samples/GettingStarted/AGUI/">
81+
<File Path="samples/GettingStarted/AGUI/README.md" />
82+
</Folder>
83+
<Folder Name="/Samples/GettingStarted/AGUI/Step01_GettingStarted/">
84+
<Project Path="samples/GettingStarted/AGUI/Step01_GettingStarted/Server/Server.csproj" />
85+
<Project Path="samples/GettingStarted/AGUI/Step01_GettingStarted/Client/Client.csproj" />
86+
</Folder>
87+
<Folder Name="/Samples/GettingStarted/AGUI/Step02_BackendTools/">
88+
<Project Path="samples/GettingStarted/AGUI/Step02_BackendTools/Server/Server.csproj" />
89+
<Project Path="samples/GettingStarted/AGUI/Step02_BackendTools/Client/Client.csproj" />
90+
</Folder>
91+
<Folder Name="/Samples/GettingStarted/AGUI/Step03_FrontendTools/">
92+
<Project Path="samples/GettingStarted/AGUI/Step03_FrontendTools/Server/Server.csproj" />
93+
<Project Path="samples/GettingStarted/AGUI/Step03_FrontendTools/Client/Client.csproj" />
94+
</Folder>
95+
<Folder Name="/Samples/GettingStarted/AGUI/Step04_HumanInLoop/">
96+
<Project Path="samples/GettingStarted/AGUI/Step04_HumanInLoop/Server/Server.csproj" />
97+
<Project Path="samples/GettingStarted/AGUI/Step04_HumanInLoop/Client/Client.csproj" />
98+
</Folder>
99+
<Folder Name="/Samples/GettingStarted/AGUI/Step05_StateManagement/">
100+
<Project Path="samples/GettingStarted/AGUI/Step05_StateManagement/Server/Server.csproj" />
101+
<Project Path="samples/GettingStarted/AGUI/Step05_StateManagement/Client/Client.csproj" />
102+
</Folder>
80103
<Folder Name="/Samples/GettingStarted/DevUI/">
81104
<File Path="samples/GettingStarted/DevUI/README.md" />
82105
<Project Path="samples/GettingStarted/DevUI/DevUI_Step01_BasicUsage/DevUI_Step01_BasicUsage.csproj" />

dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Client/Client.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net10.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.Agents.AI" Version="1.0.0-preview.251110.1" />
12-
<PackageReference Include="Microsoft.Agents.AI.AGUI" Version="1.0.0-preview.251110.1" />
11+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI\Microsoft.Agents.AI.csproj" />
12+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.AGUI\Microsoft.Agents.AI.AGUI.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Client/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
while (true)
3737
{
3838
string? message;
39-
39+
4040
if (autoMode)
4141
{
4242
if (queryIndex >= queries.Count)
@@ -112,4 +112,3 @@
112112
{
113113
Console.WriteLine($"\nAn error occurred: {ex.Message}");
114114
}
115-

dotnet/samples/GettingStarted/AGUI/Step01_GettingStarted/Server/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft. All rights reserved.
1+
// Copyright (c) Microsoft. All rights reserved.
22

33
using Azure.AI.OpenAI;
44
using Azure.Identity;
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
5-
<Nullable>enable</Nullable>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
78
</PropertyGroup>
89

910
<ItemGroup>
10-
<PackageReference Include="Azure.AI.OpenAI" Version="2.5.0-beta.1" />
11-
<PackageReference Include="Azure.Identity" Version="1.17.0" />
12-
<PackageReference Include="Microsoft.Agents.AI.Hosting.AGUI.AspNetCore" Version="1.0.0-preview.251110.1" />
13-
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="9.10.2-preview.1.25552.1" />
11+
<PackageReference Include="Azure.AI.OpenAI" />
12+
<PackageReference Include="Azure.Identity" />
13+
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.Hosting.AGUI.AspNetCore\Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.csproj" />
18+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.OpenAI\Microsoft.Agents.AI.OpenAI.csproj" />
1419
</ItemGroup>
1520

1621
</Project>

dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Client/Client.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net10.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.Agents.AI" Version="1.0.0-preview.251110.1" />
12-
<PackageReference Include="Microsoft.Agents.AI.AGUI" Version="1.0.0-preview.251110.1" />
11+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI\Microsoft.Agents.AI.csproj" />
12+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.AGUI\Microsoft.Agents.AI.AGUI.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Client/Program.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
while (true)
3737
{
3838
string? message;
39-
39+
4040
if (autoMode)
4141
{
4242
if (queryIndex >= queries.Count)
@@ -99,7 +99,7 @@
9999
case FunctionCallContent functionCallContent:
100100
Console.ForegroundColor = ConsoleColor.Green;
101101
Console.WriteLine($"\n[Function Call - Name: {functionCallContent.Name}]");
102-
102+
103103
// Display individual parameters
104104
if (functionCallContent.Arguments != null)
105105
{
@@ -114,7 +114,7 @@
114114
case FunctionResultContent functionResultContent:
115115
Console.ForegroundColor = ConsoleColor.Magenta;
116116
Console.WriteLine($"\n[Function Result - CallId: {functionResultContent.CallId}]");
117-
117+
118118
if (functionResultContent.Exception != null)
119119
{
120120
Console.WriteLine($" Exception: {functionResultContent.Exception}");
@@ -144,4 +144,3 @@
144144
{
145145
Console.WriteLine($"\nAn error occurred: {ex.Message}");
146146
}
147-

dotnet/samples/GettingStarted/AGUI/Step02_BackendTools/Server/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft. All rights reserved.
1+
// Copyright (c) Microsoft. All rights reserved.
22

33
using System.ComponentModel;
44
using System.Text.Json.Serialization;
@@ -115,5 +115,3 @@ internal sealed class RestaurantInfo
115115
[JsonSerializable(typeof(RestaurantSearchRequest))]
116116
[JsonSerializable(typeof(RestaurantSearchResponse))]
117117
internal sealed partial class SampleJsonSerializerContext : JsonSerializerContext;
118-
119-
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
5-
<Nullable>enable</Nullable>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
78
</PropertyGroup>
89

910
<ItemGroup>
10-
<PackageReference Include="Azure.AI.OpenAI" Version="2.5.0-beta.1" />
11-
<PackageReference Include="Azure.Identity" Version="1.17.0" />
12-
<PackageReference Include="Microsoft.Agents.AI.Hosting.AGUI.AspNetCore" Version="1.0.0-preview.251110.1" />
13-
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="9.10.2-preview.1.25552.1" />
11+
<PackageReference Include="Azure.AI.OpenAI" />
12+
<PackageReference Include="Azure.Identity" />
13+
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.Hosting.AGUI.AspNetCore\Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.csproj" />
18+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.OpenAI\Microsoft.Agents.AI.OpenAI.csproj" />
1419
</ItemGroup>
1520

1621
</Project>

dotnet/samples/GettingStarted/AGUI/Step03_FrontendTools/Client/Client.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net10.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.Agents.AI" Version="1.0.0-preview.251110.1" />
12-
<PackageReference Include="Microsoft.Agents.AI.AGUI" Version="1.0.0-preview.251110.1" />
11+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI\Microsoft.Agents.AI.csproj" />
12+
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.AGUI\Microsoft.Agents.AI.AGUI.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

0 commit comments

Comments
 (0)