From 922c120762cbd09dcdf6118cfd802cd7025184f4 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Wed, 5 Jul 2017 15:35:11 -0700 Subject: [PATCH] React to https://github.com/aspnet/Mvc/issues/6009 --- .../ApplicationWithConfigureMvc.csproj | 1 + testapps/ApplicationWithConfigureMvc/Startup.cs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj b/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj index 632b2e7e05..316518f5f9 100644 --- a/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj +++ b/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj @@ -4,6 +4,7 @@ netcoreapp2.0 win7-x64 true + $(DefineConstants);TEST123 diff --git a/testapps/ApplicationWithConfigureMvc/Startup.cs b/testapps/ApplicationWithConfigureMvc/Startup.cs index 124d81b51c..19de8caa76 100644 --- a/testapps/ApplicationWithConfigureMvc/Startup.cs +++ b/testapps/ApplicationWithConfigureMvc/Startup.cs @@ -29,7 +29,6 @@ namespace ApplicationWithConfigureStartup { builder.AddRazorOptions(options => { - options.ParseOptions = options.ParseOptions.WithPreprocessorSymbols(new[] { "TEST123" }); var callback = options.CompilationCallback; options.CompilationCallback = context => {