File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,10 @@ Copyright (c) .NET Foundation. All rights reserved.
1717
1818 <Import Project =" $(_BlazorWebAssemblyTargetsFile)" />
1919
20+ <ItemGroup >
21+ <RuntimeHostConfigurationOption Include =" Microsoft.AspNetCore.Components.Endpoints.NavigationManager.DisableThrowNavigationException"
22+ Condition =" '$(BlazorDisableThrowNavigationException)' != ''"
23+ Value =" $(BlazorDisableThrowNavigationException)"
24+ Trim =" true" />
25+ </ItemGroup >
2026</Project >
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ Copyright (c) .NET Foundation. All rights reserved.
6161 <!-- Default feature switch values for trimmed apps. -->
6262 <SignalRCustomAwaitableSupport Condition =" '$(SignalRCustomAwaitableSupport)' == ''" >false</SignalRCustomAwaitableSupport >
6363 <MvcEnhancedModelMetadataSupport Condition =" '$(MvcEnhancedModelMetadataSupport)' == ''" >false</MvcEnhancedModelMetadataSupport >
64+ <BlazorDisableThrowNavigationException Condition =" '$(BlazorDisableThrowNavigationException)' == ''" >false</BlazorDisableThrowNavigationException >
6465 </PropertyGroup >
6566
6667 <PropertyGroup >
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ Copyright (c) .NET Foundation. All rights reserved.
4848 Condition =" '$(MvcEnhancedModelMetadataSupport)' != ''"
4949 Value =" $(MvcEnhancedModelMetadataSupport)"
5050 Trim =" true" />
51+ <RuntimeHostConfigurationOption Include =" Microsoft.AspNetCore.Components.Endpoints.NavigationManager.DisableThrowNavigationException"
52+ Condition =" '$(BlazorDisableThrowNavigationException)' != ''"
53+ Value =" $(BlazorDisableThrowNavigationException)"
54+ Trim =" true" />
5155 </ItemGroup >
5256
5357</Project >
You can’t perform that action at this time.
0 commit comments