diff --git a/RadzenBlazorDemos/Services/CompilerService.cs b/RadzenBlazorDemos/Services/CompilerService.cs index f36d7108c..e28494bc3 100644 --- a/RadzenBlazorDemos/Services/CompilerService.cs +++ b/RadzenBlazorDemos/Services/CompilerService.cs @@ -196,7 +196,7 @@ namespace RadzenBlazorDemos .Replace("#nullable enable", "#nullable disable") .Replace("where TItem : , notnull", "where TItem : notnull"); - var syntaxTree = CSharpSyntaxTree.ParseText(generatedCode, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp10)); + var syntaxTree = CSharpSyntaxTree.ParseText(generatedCode, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Latest)); compilation = compilation.RemoveAllSyntaxTrees().AddSyntaxTrees(syntaxTree); diff --git a/RadzenBlazorDemos/linker.xml b/RadzenBlazorDemos/linker.xml index 5aa037bd0..b8cc68b7a 100644 --- a/RadzenBlazorDemos/linker.xml +++ b/RadzenBlazorDemos/linker.xml @@ -8,5 +8,15 @@ + + + + + + + + + +