Skip to content

Commit 87d7090

Browse files
committed
Don't require latest runtime patch for Blazor DevServer
1 parent ba94792 commit 87d7090

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Components/WebAssembly/DevServer/src/Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<Target Name="_CreateRuntimeConfig" BeforeTargets="CoreBuild">
3838
<PropertyGroup>
3939
<_RuntimeConfigProperties>
40-
SharedFxVersion=$(SharedFxVersion);
40+
AspNetCoreMajorMinorVersion=$(AspNetCoreMajorMinorVersion);
4141
</_RuntimeConfigProperties>
4242

4343
<_RuntimeConfigPath>$(OutputPath)blazor-devserver.runtimeconfig.json</_RuntimeConfigPath>

src/Components/WebAssembly/DevServer/src/blazor-devserver.runtimeconfig.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"tfm": "net8.0",
44
"framework": {
55
"name": "Microsoft.AspNetCore.App",
6-
"version": "${SharedFxVersion}"
6+
"version": "${AspNetCoreMajorMinorVersion}.0"
77
},
88
"rollForwardOnNoCandidateFx": 2
99
}

0 commit comments

Comments
 (0)