Skip to content

Commit 2859f25

Browse files
Copilotjaviercn
andcommitted
Fix HotReloadManager accessibility in Server project by including shared source
Co-authored-by: javiercn <[email protected]>
1 parent 9916739 commit 2859f25

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Components/Server/src/Circuits/ServerComponentDeserializer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ static ServerComponentDeserializer()
7171
}
7272
}
7373

74+
75+
7476
// The following fields are only used in TryDeserializeSingleComponentDescriptor.
7577
// The TryDeserializeComponentDescriptorCollection method uses a stateless
7678
// approach to efficiently detect invalid component records.

src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<Compile Include="$(ComponentsSharedSourceRoot)src\RootComponentOperationBatch.cs" />
5252
<Compile Include="$(ComponentsSharedSourceRoot)src\RootComponentOperationType.cs" />
5353
<Compile Include="$(ComponentsSharedSourceRoot)src\RootTypeCache.cs" />
54+
<Compile Include="$(ComponentsSharedSourceRoot)src\HotReloadManager.cs" LinkBase="HotReload" />
5455
<Compile Include="$(ComponentsSharedSourceRoot)src\DefaultAntiforgeryStateProvider.cs" LinkBase="Forms" />
5556
<Compile Include="$(ComponentsSharedSourceRoot)src\WebRendererId.cs" />
5657
<Compile Include="$(SharedSourceRoot)Components\ServerComponentSerializer.cs" LinkBase="DependencyInjection" />

0 commit comments

Comments
 (0)