Skip to content

Commit e4a8494

Browse files
committed
fix(samples): make authenticated connections standalone
Use package references and sample-local central package versions so the authenticated connections sample satisfies the standalone sample validation introduced on main. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e71c4ddd-5362-4204-910f-9a742ddd63de
1 parent dc43166 commit e4a8494

2 files changed

Lines changed: 20 additions & 3 deletions

File tree

samples/AuthenticatedSiloConnections/AuthenticatedSiloConnections.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<ProjectReference Include="$(SourceRoot)src\Orleans.Server\Orleans.Server.csproj" />
12-
<ProjectReference Include="$(SourceRoot)src\Orleans.Connections.Security\Orleans.Connections.Security.csproj" />
13-
<ProjectReference Include="$(SourceRoot)src\Orleans.Connections.Security.Entra\Orleans.Connections.Security.Entra.csproj" />
1411
<PackageReference Include="Azure.Identity" />
1512
<PackageReference Include="Microsoft.Extensions.Hosting" />
1613
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
14+
<PackageReference Include="Microsoft.Orleans.Connections.Security" />
15+
<PackageReference Include="Microsoft.Orleans.Connections.Security.Entra" />
16+
<PackageReference Include="Microsoft.Orleans.Server" />
1717
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" />
1818
<PackageReference Include="OpenTelemetry.Extensions.Hosting" />
1919
</ItemGroup>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
5+
</PropertyGroup>
6+
7+
<ItemGroup>
8+
<PackageVersion Include="Azure.Identity" Version="1.18.0" />
9+
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.5" />
10+
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="10.0.5" />
11+
<PackageVersion Include="Microsoft.Orleans.Connections.Security" Version="10.2.2" />
12+
<PackageVersion Include="Microsoft.Orleans.Connections.Security.Entra" Version="10.2.2" />
13+
<PackageVersion Include="Microsoft.Orleans.Server" Version="10.2.2" />
14+
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.16.0" />
15+
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.16.0" />
16+
</ItemGroup>
17+
</Project>

0 commit comments

Comments
 (0)