diff --git a/src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs b/src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs index 886c996531..2ae9fa76ca 100644 --- a/src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs +++ b/src/Microsoft.AspNet.Razor/Editor/BackgroundParser.cs @@ -309,7 +309,7 @@ namespace Microsoft.AspNet.Razor.Editor RazorEditorTrace.TraceLine(RazorResources.FormatTrace_BackgroundThreadStart(fileNameOnly)); EnsureOnThread(); -#if K10 +#if ASPNETCORE50 var spinWait = new SpinWait(); #endif diff --git a/src/Microsoft.AspNet.Razor/project.json b/src/Microsoft.AspNet.Razor/project.json index 981525f611..e061250651 100644 --- a/src/Microsoft.AspNet.Razor/project.json +++ b/src/Microsoft.AspNet.Razor/project.json @@ -19,6 +19,6 @@ }, "frameworks": { "net45": { }, - "k10": { } + "aspnetcore50": { } } } diff --git a/test/Microsoft.AspNet.Razor.Test/Project.json b/test/Microsoft.AspNet.Razor.Test/Project.json index 28093d0b3b..79c9d4261a 100644 --- a/test/Microsoft.AspNet.Razor.Test/Project.json +++ b/test/Microsoft.AspNet.Razor.Test/Project.json @@ -1,4 +1,4 @@ -{ +{ "resources": "TestFiles/**/*", "dependencies": { "Moq": "4.2.1312.1622",