diff --git a/src/Shared/StellarChat.Shared.Infrastructure/Extensions.cs b/src/Shared/StellarChat.Shared.Infrastructure/Extensions.cs index c044729..6c295e0 100644 --- a/src/Shared/StellarChat.Shared.Infrastructure/Extensions.cs +++ b/src/Shared/StellarChat.Shared.Infrastructure/Extensions.cs @@ -31,7 +31,8 @@ public static WebApplicationBuilder AddSharedInfrastructure(this WebApplicationB .AddCorsPolicy(builder.Configuration) .AddMongo(builder.Configuration) .RegisterEndpoints(builder.Configuration) - .AddSemanticKernel(builder.Configuration); + .AddSemanticKernel(builder.Configuration) + .AddMediator(); return builder; } diff --git a/src/Shared/StellarChat.Shared.Infrastructure/StellarChat.Shared.Infrastructure.csproj b/src/Shared/StellarChat.Shared.Infrastructure/StellarChat.Shared.Infrastructure.csproj index 0182cb6..b6ace02 100644 --- a/src/Shared/StellarChat.Shared.Infrastructure/StellarChat.Shared.Infrastructure.csproj +++ b/src/Shared/StellarChat.Shared.Infrastructure/StellarChat.Shared.Infrastructure.csproj @@ -11,6 +11,11 @@ + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +