Skip to content

Commit 67f31e7

Browse files
authored
[Blazor] Use Microsoft.DotNet.HotReload.Agent package (#61821)
1 parent de037b2 commit 67f31e7

12 files changed

+23
-515
lines changed

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,13 @@ dotnet_diagnostic.IDE0161.severity = silent
464464
# IDE0005: Remove unused usings. Ignore for shared src files since imports for those depend on the projects in which they are included.
465465
dotnet_diagnostic.IDE0005.severity = silent
466466

467+
[{**/microsoft.dotnet.hotreload.agent*/**.cs}]
468+
# IDE0005: Remove unused usings. Ignore for shared src files coming from nuget package.
469+
dotnet_diagnostic.IDE0005.severity = silent
470+
# IDE0073: A source file is missing a required header. Ignore for shared src files coming from nuget package.
471+
dotnet_diagnostic.IDE0073.severity = silent
472+
473+
467474
# Verify settings
468475
[*.{received,verified}.{txt,xml,json}]
469476
charset = "utf-8-bom"

eng/Dependencies.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ and are generated based on the last package release.
2525
<LatestPackageReference Include="Microsoft.CodeAnalysis.ExternalAccess.AspNetCore" />
2626
<LatestPackageReference Include="Microsoft.CodeAnalysis.Razor" />
2727
<LatestPackageReference Include="Microsoft.CSharp" />
28+
<LatestPackageReference Include="Microsoft.DotNet.HotReload.Agent" />
29+
<LatestPackageReference Include="Microsoft.DotNet.HotReload.Agent.Data" />
2830
<LatestPackageReference Include="Microsoft.Extensions.Caching.Abstractions" />
2931
<LatestPackageReference Include="Microsoft.Extensions.Caching.Memory" />
3032
<LatestPackageReference Include="Microsoft.Extensions.Configuration.Abstractions" />

eng/Version.Details.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,14 @@
361361
<Uri>https://github.com/dotnet/dotnet</Uri>
362362
<Sha>85778473549347b3e4bad3ea009e9438df7b11bb</Sha>
363363
</Dependency>
364+
<Dependency Name="Microsoft.DotNet.HotReload.Agent" Version="10.0.100-preview.5.25258.39">
365+
<Uri>https://github.com/dotnet/dotnet</Uri>
366+
<Sha>5e6dacd4d3debda3266224b2a434811c6fa94987</Sha>
367+
</Dependency>
368+
<Dependency Name="Microsoft.DotNet.HotReload.Agent.Data" Version="10.0.100-preview.5.25258.39">
369+
<Uri>https://github.com/dotnet/dotnet</Uri>
370+
<Sha>5e6dacd4d3debda3266224b2a434811c6fa94987</Sha>
371+
</Dependency>
364372
</ProductDependencies>
365373
<ToolsetDependencies>
366374
<!-- Listed explicitly to workaround https://github.com/dotnet/cli/issues/10528 -->

eng/Versions.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@
155155
<MicrosoftEntityFrameworkCoreToolsVersion>10.0.0-preview.4.25260.104</MicrosoftEntityFrameworkCoreToolsVersion>
156156
<MicrosoftEntityFrameworkCoreVersion>10.0.0-preview.4.25260.104</MicrosoftEntityFrameworkCoreVersion>
157157
<MicrosoftEntityFrameworkCoreDesignVersion>10.0.0-preview.4.25260.104</MicrosoftEntityFrameworkCoreDesignVersion>
158+
<!-- Packages from dotnet/sdk -->
159+
<MicrosoftDotNetHotReloadAgentVersion>10.0.100-preview.5.25258.39</MicrosoftDotNetHotReloadAgentVersion>
160+
<MicrosoftDotNetHotReloadAgentDataVersion>10.0.100-preview.5.25258.39</MicrosoftDotNetHotReloadAgentDataVersion>
158161
<!-- Packages from dotnet/roslyn -->
159162
<!-- Not updated automatically -->
160163
<MicrosoftCodeAnalysisCommonVersion>4.13.0-3.24613.7</MicrosoftCodeAnalysisCommonVersion>

src/Components/WebAssembly/WebAssembly/src/HotReload/AgentMessageSeverity.cs

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Components/WebAssembly/WebAssembly/src/HotReload/AgentReporter.cs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/Components/WebAssembly/WebAssembly/src/HotReload/HotReloadAgent.cs

Lines changed: 0 additions & 203 deletions
This file was deleted.

0 commit comments

Comments
 (0)