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 => {