From 0fb47684c8c9f40b580c1279949ae4daac0d409c Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Thu, 7 Jun 2018 11:56:09 -0700 Subject: [PATCH] Fix #974 The root cause here was that we weren't setting the language version in MSBuild, which is only for the command line version. (cherry picked from commit 319e31f71a150e9b0d91e724f0e358390caec4c2) --- .../targets/RazorCompilation.targets | 2 ++ .../Tests/ComponentRenderingTest.cs | 13 ++++++++++++- test/testapps/BasicTestApp/DataDashComponent.cshtml | 5 +++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 test/testapps/BasicTestApp/DataDashComponent.cshtml diff --git a/src/Microsoft.AspNetCore.Blazor.Build/targets/RazorCompilation.targets b/src/Microsoft.AspNetCore.Blazor.Build/targets/RazorCompilation.targets index 2d6896c5eb..fa40d6c86f 100644 --- a/src/Microsoft.AspNetCore.Blazor.Build/targets/RazorCompilation.targets +++ b/src/Microsoft.AspNetCore.Blazor.Build/targets/RazorCompilation.targets @@ -14,6 +14,8 @@ false + Experimental +