diff --git a/src/RazorSdk/Targets/Sdk.Razor.CurrentVersion.targets b/src/RazorSdk/Targets/Sdk.Razor.CurrentVersion.targets index 561902a19ed9..59dc3460e637 100644 --- a/src/RazorSdk/Targets/Sdk.Razor.CurrentVersion.targets +++ b/src/RazorSdk/Targets/Sdk.Razor.CurrentVersion.targets @@ -55,6 +55,8 @@ Copyright (c) .NET Foundation. All rights reserved. <_TargetingNET100OrLater>true true 9.0 + <_RazorUseRoslynTokenizer Condition="'$(_RazorUseRoslynTokenizer)'==''">true + use-roslyn-tokenizer=true;$(FEATURES)