Skip to content

A programming framework for agentic AI

move .proto generator to Microsoft.AI.Agents (#391)

Xiaoyun Zhang519c981efa61
diff --git a/dotnet/src/Microsoft.AI.Agents.Worker.Client/Microsoft.AI.Agents.Worker.Client.csproj b/dotnet/src/Microsoft.AI.Agents.Worker.Client/Microsoft.AI.Agents.Worker.Client.csproj
index 79357e2c9..4d6c772cb 100644
--- a/dotnet/src/Microsoft.AI.Agents.Worker.Client/Microsoft.AI.Agents.Worker.Client.csproj
+++ b/dotnet/src/Microsoft.AI.Agents.Worker.Client/Microsoft.AI.Agents.Worker.Client.csproj
@@ -11,22 +11,8 @@
<Tags>ai-agents;event-driven-agents</Tags>
</PropertyGroup>
- <ItemGroup>
- <Protobuf Include="..\..\..\protos\agent_worker.proto" GrpcServices="Client" Link="Protos\agent_worker.proto" />
- <Compile Include="..\Shared\RpcEventExtensions.cs" Link="RpcEventExtensions.cs" />
- </ItemGroup>
-
<ItemGroup>
<ProjectReference Include="..\Microsoft.AI.Agents\Microsoft.AI.Agents.csproj" />
</ItemGroup>
- <ItemGroup>
- <PackageReference Include="Grpc.AspNetCore" />
- <PackageReference Include="Grpc.Net.ClientFactory" />
- <PackageReference Include="Grpc.Tools">
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- <PrivateAssets>all</PrivateAssets>
- </PackageReference>
- </ItemGroup>
-
</Project>
diff --git a/dotnet/src/Microsoft.AI.Agents.Worker.Server/Microsoft.AI.Agents.Worker.Server.csproj b/dotnet/src/Microsoft.AI.Agents.Worker.Server/Microsoft.AI.Agents.Worker.Server.csproj
index 74e60507a..75637a3db 100644
--- a/dotnet/src/Microsoft.AI.Agents.Worker.Server/Microsoft.AI.Agents.Worker.Server.csproj
+++ b/dotnet/src/Microsoft.AI.Agents.Worker.Server/Microsoft.AI.Agents.Worker.Server.csproj
@@ -11,17 +11,11 @@
<Tags>ai-agents;event-driven-agents</Tags>
</PropertyGroup>
- <ItemGroup>
- <Protobuf Include="..\..\..\protos\agent_worker.proto" GrpcServices="Server" Link="Protos\agent_worker.proto" />
- <Compile Include="..\Shared\RpcEventExtensions.cs" Link="RpcEventExtensions.cs" />
- </ItemGroup>
-
<ItemGroup>
<ProjectReference Include="..\Microsoft.AI.Agents\Microsoft.AI.Agents.csproj" />
</ItemGroup>
<ItemGroup>
- <PackageReference Include="Grpc.AspNetCore" />
<PackageReference Include="Microsoft.Orleans.Serialization.Protobuf" />
<PackageReference Include="Microsoft.Orleans.Server" />
<PackageReference Include="Microsoft.Orleans.Streaming" />
diff --git a/dotnet/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj b/dotnet/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj
index 8d10e112d..db46cb530 100644
--- a/dotnet/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj
+++ b/dotnet/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj
@@ -11,6 +11,17 @@
</PropertyGroup>
<ItemGroup>
+ <Protobuf Include="..\..\..\protos\agent_worker.proto" GrpcServices="Client;Server" Link="Protos\agent_worker.proto" />
+ <Compile Include="..\Shared\RpcEventExtensions.cs" Link="RpcEventExtensions.cs" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Grpc.AspNetCore" />
+ <PackageReference Include="Grpc.Net.ClientFactory" />
+ <PackageReference Include="Grpc.Tools">
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+ <PrivateAssets>all</PrivateAssets>
+ </PackageReference>
<PackageReference Include="Microsoft.SemanticKernel" />
</ItemGroup>