Skip to content

Commit 48761c2

Browse files
committed
GenerateRuntimeConfigurationFiles
1 parent 0b58937 commit 48761c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BlazorWasmSdk/Targets/Microsoft.NET.Sdk.BlazorWebAssembly.6_0.targets

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Copyright (c) .NET Foundation. All rights reserved.
6262
<WasmFingerprintDotnetJs Condition="'$(_TargetingNET80OrLater)' == 'true' and '$(_TargetingNETBefore100)' == 'true'">false</WasmFingerprintDotnetJs>
6363
<WasmEnableWebcil Condition="'$(WasmEnableWebcil)' == '' and ('$(TargetFrameworkIdentifier)' != '.NETCoreApp' or '$(_TargetingNET80OrLater)' != 'true')">false</WasmEnableWebcil>
6464

65-
<!-- Turn off parts of the build that do not apply to Blazor projects -->
66-
<GenerateRuntimeConfigurationFiles>false</GenerateRuntimeConfigurationFiles>
65+
<!-- Turn off parts of the build that do not apply to Blazor projects until Net10 -->
66+
<GenerateRuntimeConfigurationFiles Condition="''$(GenerateRuntimeConfigurationFiles)' == '' and $(_TargetingNETBefore100)' == 'true'">false</GenerateRuntimeConfigurationFiles>
6767

6868
<!-- Don't generate a NETSDK1151 error if a non self-contained Exe references a Blazor Exe -->
6969
<ShouldBeValidatedAsExecutableReference>false</ShouldBeValidatedAsExecutableReference>

0 commit comments

Comments
 (0)