From 645ce09c1243ed25b78398bb610c65ca6303df19 Mon Sep 17 00:00:00 2001 From: "ASP.NET CI" Date: Sun, 30 Sep 2018 12:27:07 -0700 Subject: [PATCH 1/6] Update dependencies.props [auto-updated: dependencies] --- build/dependencies.props | 34 +++++++++++++++++----------------- korebuild-lock.txt | 4 ++-- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/build/dependencies.props b/build/dependencies.props index fac6f7479f..73061aad9f 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -3,26 +3,26 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - 2.2.0-preview1-20180918.1 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 - 0.6.0-preview3-35301 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 + 2.2.0-preview1-20180928.5 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 + 0.6.0-preview3-35359 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 15.6.82 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 - 2.2.0-preview3-35301 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 + 2.2.0-preview3-35359 2.0.9 2.1.3 - 2.2.0-preview2-26905-02 - 2.2.0-preview3-35301 + 2.2.0-preview3-26927-02 + 2.2.0-preview3-35359 15.6.1 2.0.3 2.3.1 diff --git a/korebuild-lock.txt b/korebuild-lock.txt index 649bf2ba0b..26697a21fa 100644 --- a/korebuild-lock.txt +++ b/korebuild-lock.txt @@ -1,2 +1,2 @@ -version:2.2.0-preview1-20180918.1 -commithash:ad5e3fc53442741a0dd49bce437d2ac72f4b5800 +version:2.2.0-preview1-20180928.5 +commithash:43faa29f679f47b88689d645b39e6be5e0055d70 From f165f2c6d574bc3e65e4943998adb6c7b90330c6 Mon Sep 17 00:00:00 2001 From: "ASP.NET CI" Date: Tue, 16 Oct 2018 12:48:18 -0700 Subject: [PATCH 2/6] Update package branding for 2.2 RTM --- version.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.props b/version.props index 704cac087b..4889a26987 100644 --- a/version.props +++ b/version.props @@ -1,7 +1,7 @@ 2.2.0 - preview3 + rtm $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix)-final t000 From f66b074402061b49cf4d88557542d23b1556cd09 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Tue, 6 Nov 2018 13:52:39 -0800 Subject: [PATCH 3/6] Remove obsolete logging API usage (#299) --- testapps/ApplicationWithConfigureMvc/Startup.cs | 2 +- testapps/ApplicationWithCustomInputFiles/Startup.cs | 2 +- testapps/ApplicationWithParseErrors/Startup.cs | 2 +- testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs | 2 +- testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs | 2 +- testapps/ApplicationWithRazorSdkUsed/Startup.cs | 2 +- testapps/ApplicationWithTagHelpers/Startup.cs | 2 +- testapps/PublishWithEmbedViewSources/Startup.cs | 2 +- testapps/RazorPagesApp/Startup.cs | 2 +- testapps/SimpleApp/Startup.cs | 2 +- testapps/SimpleAppWithAssemblyRename/Startup.cs | 2 +- testapps/StrongNamedApp/Startup.cs | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/testapps/ApplicationWithConfigureMvc/Startup.cs b/testapps/ApplicationWithConfigureMvc/Startup.cs index bad4439448..9c44e7a17d 100644 --- a/testapps/ApplicationWithConfigureMvc/Startup.cs +++ b/testapps/ApplicationWithConfigureMvc/Startup.cs @@ -9,6 +9,7 @@ namespace ApplicationWithConfigureStartup { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. var builder = services.AddMvc(); ConfigureMvc(builder); @@ -16,7 +17,6 @@ namespace ApplicationWithConfigureStartup public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvc(routes => { routes.MapRoute( diff --git a/testapps/ApplicationWithCustomInputFiles/Startup.cs b/testapps/ApplicationWithCustomInputFiles/Startup.cs index d42b8dfad9..203395ded9 100644 --- a/testapps/ApplicationWithCustomInputFiles/Startup.cs +++ b/testapps/ApplicationWithCustomInputFiles/Startup.cs @@ -8,13 +8,13 @@ namespace ApplicationWithCustomInputFiles { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvc(routes => { routes.MapRoute( diff --git a/testapps/ApplicationWithParseErrors/Startup.cs b/testapps/ApplicationWithParseErrors/Startup.cs index b573e39a8c..8e2df21cc8 100644 --- a/testapps/ApplicationWithParseErrors/Startup.cs +++ b/testapps/ApplicationWithParseErrors/Startup.cs @@ -8,12 +8,12 @@ namespace ApplicationWithParseErrors { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvcWithDefaultRoute(); } } diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs b/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs index 4b06309f6d..c7068b7faa 100644 --- a/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs +++ b/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs @@ -8,13 +8,13 @@ namespace ApplicationWithRazorSdkNeitherUsed { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvcWithDefaultRoute(); } } diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs b/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs index 16c835e52d..d168b9394c 100644 --- a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs +++ b/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs @@ -8,13 +8,13 @@ namespace ApplicationWithRazorSdkPrecompilationUsed { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvcWithDefaultRoute(); } } diff --git a/testapps/ApplicationWithRazorSdkUsed/Startup.cs b/testapps/ApplicationWithRazorSdkUsed/Startup.cs index 8c6e88ed12..49a97f8e40 100644 --- a/testapps/ApplicationWithRazorSdkUsed/Startup.cs +++ b/testapps/ApplicationWithRazorSdkUsed/Startup.cs @@ -8,13 +8,13 @@ namespace ApplicationWithRazorSdkUsed { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvcWithDefaultRoute(); } } diff --git a/testapps/ApplicationWithTagHelpers/Startup.cs b/testapps/ApplicationWithTagHelpers/Startup.cs index 00a0fb6df9..48babe25f2 100644 --- a/testapps/ApplicationWithTagHelpers/Startup.cs +++ b/testapps/ApplicationWithTagHelpers/Startup.cs @@ -8,13 +8,13 @@ namespace ApplicationWithTagHelpers { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvc(routes => { routes.MapRoute( diff --git a/testapps/PublishWithEmbedViewSources/Startup.cs b/testapps/PublishWithEmbedViewSources/Startup.cs index c1e951b594..d7dee03fff 100644 --- a/testapps/PublishWithEmbedViewSources/Startup.cs +++ b/testapps/PublishWithEmbedViewSources/Startup.cs @@ -8,13 +8,13 @@ namespace PublishWithEmbedViewSources { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvc(routes => { routes.MapRoute( diff --git a/testapps/RazorPagesApp/Startup.cs b/testapps/RazorPagesApp/Startup.cs index 33964de1da..c90ccba906 100644 --- a/testapps/RazorPagesApp/Startup.cs +++ b/testapps/RazorPagesApp/Startup.cs @@ -10,6 +10,7 @@ namespace RazorPagesApp { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); var builder = services.AddMvc(); services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie(options => options.LoginPath = "/Login"); ConfigureMvc(builder); @@ -17,7 +18,6 @@ namespace RazorPagesApp public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseAuthentication(); app.UseMvc(); } diff --git a/testapps/SimpleApp/Startup.cs b/testapps/SimpleApp/Startup.cs index 461873a890..abf9ec6423 100644 --- a/testapps/SimpleApp/Startup.cs +++ b/testapps/SimpleApp/Startup.cs @@ -8,13 +8,13 @@ namespace SimpleApp { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvc(routes => { routes.MapRoute( diff --git a/testapps/SimpleAppWithAssemblyRename/Startup.cs b/testapps/SimpleAppWithAssemblyRename/Startup.cs index fa29d5b735..4492a3912b 100644 --- a/testapps/SimpleAppWithAssemblyRename/Startup.cs +++ b/testapps/SimpleAppWithAssemblyRename/Startup.cs @@ -8,13 +8,13 @@ namespace SimpleAppWithAssemblyRename { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvcWithDefaultRoute(); } } diff --git a/testapps/StrongNamedApp/Startup.cs b/testapps/StrongNamedApp/Startup.cs index a75f450846..f5dc4b4640 100644 --- a/testapps/StrongNamedApp/Startup.cs +++ b/testapps/StrongNamedApp/Startup.cs @@ -8,13 +8,13 @@ namespace StrongNamedApp { public void ConfigureServices(IServiceCollection services) { + services.AddLogging(loggingBuilder => loggingBuilder.AddConsole()); // Add framework services. services.AddMvc(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { - loggerFactory.AddConsole(); app.UseMvc(routes => { routes.MapRoute( From 617586a984b1eff9ca0ca8126dd0b1dab2ea16f2 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Tue, 6 Nov 2018 10:31:33 -0800 Subject: [PATCH 4/6] Keep a couple of tests and remove most tests from 2.1 Fixes https://github.com/aspnet/MvcPrecompilation/issues/293 --- ...plicationUsingRelativePathsTest_CoreCLR.cs | 60 -------- ...ApplicationWithConfigureMvcTest_CoreCLR.cs | 62 -------- ...icationWithCustomInputFilesTest_CoreCLR.cs | 105 -------------- .../ApplicationWithParseErrorsTest_CoreCLR.cs | 50 ------- .../ApplicationWithTagHelpersTest_CoreCLR.cs | 60 -------- .../PublishWithDebugTest_CoreCLR.cs | 56 ------- ...PublishWithEmbedViewSourcesTest_CoreCLR.cs | 62 -------- .../CoreCLRTests/RazorPagesAppTest_CoreCLR.cs | 134 ----------------- .../RazorSdkNeitherUsedTest_CoreCLR.cs | 46 ------ .../RazorSdkPrecompilationUsedTest_CoreCLR.cs | 45 ------ .../CoreCLRTests/RazorSdkUsedTest_CoreCLR.cs | 47 ------ .../CoreCLRTests/SimpleAppTest_CoreCLR.cs | 2 +- ...SimpleAppWithAssemblyRenameTest_CoreCLR.cs | 52 ------- .../StrongNamedAppTest_CoreCLR.cs | 42 ------ .../ViewCompilationOptionsTest_CoreCLR.cs | 57 -------- ...plicationUsingRelativePathsTest_Desktop.cs | 63 -------- ...ApplicationWithConfigureMvcTest_Desktop.cs | 65 --------- ...icationWithCustomInputFilesTest_Desktop.cs | 108 -------------- .../ApplicationWithParseErrorsTest_Desktop.cs | 53 ------- .../ApplicationWithTagHelpersTest_Desktop.cs | 63 -------- .../PublishWithDebugTest_Desktop.cs | 59 -------- ...PublishWithEmbedViewSourcesTest_Desktop.cs | 65 --------- .../DesktopTests/RazorPagesAppTest_Desktop.cs | 137 ------------------ .../DesktopTests/SimpleAppTest_Desktop.cs | 2 +- ...SimpleAppWithAssemblyRenameTest_Desktop.cs | 55 ------- .../StrongNamedAppTest_Desktop.cs | 45 ------ .../ViewCompilationOptionsTest_Desktop.cs | 60 -------- ...mingPrecompiledViews.Manage.Home.Index.txt | 13 -- ...plicationUsingRelativePaths.Home.About.txt | 8 - ...plicationUsingRelativePaths.Home.Index.txt | 8 - ...ApplicationWithConfigureMvc.Home.Index.txt | 2 - ...ConfigureMvc.Home.ViewWithPreprocessor.txt | 1 - ...hRazorSdkPrecompilationUsed.Home.Index.txt | 8 - ...ApplicationWithRazorSdkUsed.Home.Index.txt | 8 - ...hTagHelpers.Home.ClassLibraryTagHelper.txt | 25 ---- ...tionWithTagHelpers.Home.LocalTagHelper.txt | 25 ---- .../Resources/RazorPages.Index.txt | 2 - ...ages.Nested1.Nested2.PageWithTagHelper.txt | 2 - .../Resources/RazorPages.PageWithModel.txt | 2 - .../Resources/RazorPages.PageWithRoute.txt | 2 - ...leAppWithAssemblyRenameTest.Home.Index.txt | 2 - .../Resources/StrongNamedApp.Home.Index.txt | 1 - 42 files changed, 2 insertions(+), 1762 deletions(-) delete mode 100644 test/FunctionalTests/CoreCLRTests/ApplicationUsingRelativePathsTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/ApplicationWithConfigureMvcTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/ApplicationWithCustomInputFilesTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/ApplicationWithParseErrorsTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/ApplicationWithTagHelpersTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/PublishWithDebugTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/PublishWithEmbedViewSourcesTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/RazorPagesAppTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/RazorSdkNeitherUsedTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/RazorSdkPrecompilationUsedTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/RazorSdkUsedTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/SimpleAppWithAssemblyRenameTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/StrongNamedAppTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/CoreCLRTests/ViewCompilationOptionsTest_CoreCLR.cs delete mode 100644 test/FunctionalTests/DesktopTests/ApplicationUsingRelativePathsTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/ApplicationWithConfigureMvcTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/ApplicationWithCustomInputFilesTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/ApplicationWithParseErrorsTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/ApplicationWithTagHelpersTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/PublishWithDebugTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/PublishWithEmbedViewSourcesTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/RazorPagesAppTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/SimpleAppWithAssemblyRenameTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/StrongNamedAppTest_Desktop.cs delete mode 100644 test/FunctionalTests/DesktopTests/ViewCompilationOptionsTest_Desktop.cs delete mode 100644 test/FunctionalTests/Resources/ApplicationConsumingPrecompiledViews.Manage.Home.Index.txt delete mode 100644 test/FunctionalTests/Resources/ApplicationUsingRelativePaths.Home.About.txt delete mode 100644 test/FunctionalTests/Resources/ApplicationUsingRelativePaths.Home.Index.txt delete mode 100644 test/FunctionalTests/Resources/ApplicationWithConfigureMvc.Home.Index.txt delete mode 100644 test/FunctionalTests/Resources/ApplicationWithConfigureMvc.Home.ViewWithPreprocessor.txt delete mode 100644 test/FunctionalTests/Resources/ApplicationWithRazorSdkPrecompilationUsed.Home.Index.txt delete mode 100644 test/FunctionalTests/Resources/ApplicationWithRazorSdkUsed.Home.Index.txt delete mode 100644 test/FunctionalTests/Resources/ApplicationWithTagHelpers.Home.ClassLibraryTagHelper.txt delete mode 100644 test/FunctionalTests/Resources/ApplicationWithTagHelpers.Home.LocalTagHelper.txt delete mode 100644 test/FunctionalTests/Resources/RazorPages.Index.txt delete mode 100644 test/FunctionalTests/Resources/RazorPages.Nested1.Nested2.PageWithTagHelper.txt delete mode 100644 test/FunctionalTests/Resources/RazorPages.PageWithModel.txt delete mode 100644 test/FunctionalTests/Resources/RazorPages.PageWithRoute.txt delete mode 100644 test/FunctionalTests/Resources/SimpleAppWithAssemblyRenameTest.Home.Index.txt delete mode 100644 test/FunctionalTests/Resources/StrongNamedApp.Home.Index.txt diff --git a/test/FunctionalTests/CoreCLRTests/ApplicationUsingRelativePathsTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/ApplicationUsingRelativePathsTest_CoreCLR.cs deleted file mode 100644 index e115718137..0000000000 --- a/test/FunctionalTests/CoreCLRTests/ApplicationUsingRelativePathsTest_CoreCLR.cs +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class ApplicationUsingRelativePathsTest_CoreCLR : - LoggedTest, IClassFixture> - { - public ApplicationUsingRelativePathsTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task Precompilation_WorksForViewsUsingRelativePath() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("ApplicationUsingRelativePaths.Home.Index.txt", response); - } - } - - [Fact] - public async Task Precompilation_WorksForViewsUsingDirectoryTraversal() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("ApplicationUsingRelativePaths.Home.About.txt", response); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/ApplicationWithConfigureMvcTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/ApplicationWithConfigureMvcTest_CoreCLR.cs deleted file mode 100644 index 0916f7af1e..0000000000 --- a/test/FunctionalTests/CoreCLRTests/ApplicationWithConfigureMvcTest_CoreCLR.cs +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class ApplicationWithConfigureMvcTest_CoreCLR - : LoggedTest, IClassFixture> - { - public ApplicationWithConfigureMvcTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task Precompilation_RunsConfiguredCompilationCallbacks() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("ApplicationWithConfigureMvc.Home.Index.txt", response); - } - } - - [Fact] - public async Task Precompilation_UsesConfiguredParseOptions() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/ViewWithPreprocessor", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent( - "ApplicationWithConfigureMvc.Home.ViewWithPreprocessor.txt", - response); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/ApplicationWithCustomInputFilesTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/ApplicationWithCustomInputFilesTest_CoreCLR.cs deleted file mode 100644 index bce4f0a260..0000000000 --- a/test/FunctionalTests/CoreCLRTests/ApplicationWithCustomInputFilesTest_CoreCLR.cs +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class ApplicationWithCustomInputFilesTest_CoreCLR - : LoggedTest, IClassFixture> - { - public ApplicationWithCustomInputFilesTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task ApplicationWithCustomInputFiles_Works() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var expectedText = "Hello Index!"; - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - Assert.Equal(expectedText, response.Trim()); - } - } - - [Fact] - public async Task MvcRazorFilesToCompile_OverridesTheFilesToBeCompiled() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var expectedViews = new[] - { - "/Views/Home/About.cshtml", - "/Views/Home/Index.cshtml", - }; - - // Act - var response2 = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/GetPrecompiledResourceNames", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - var actual = response2.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries) - .OrderBy(p => p, StringComparer.OrdinalIgnoreCase); - Assert.Equal(expectedViews, actual); - } - } - - [Fact] - public async Task MvcRazorFilesToCompile_SpecificallyDoesNotPublishFilesToBeCompiled() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var viewsNotPublished = new[] - { - "Index.cshtml", - "About.cshtml", - }; - - var viewsPublished = new[] - { - "NotIncluded.cshtml", - }; - var viewsDirectory = Path.Combine(deployment.ContentRoot, "Views", "Home"); - - // Act & Assert - foreach (var file in viewsPublished) - { - var filePath = Path.Combine(viewsDirectory, file); - Assert.True(File.Exists(filePath), $"{filePath} was not published."); - } - - foreach (var file in viewsNotPublished) - { - var filePath = Path.Combine(viewsDirectory, file); - Assert.False(File.Exists(filePath), $"{filePath} was published."); - } - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/ApplicationWithParseErrorsTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/ApplicationWithParseErrorsTest_CoreCLR.cs deleted file mode 100644 index 77159e5e13..0000000000 --- a/test/FunctionalTests/CoreCLRTests/ApplicationWithParseErrorsTest_CoreCLR.cs +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; - -namespace FunctionalTests -{ - public class ApplicationWithParseErrorsTest_CoreCLR - : IClassFixture> - { - public ApplicationWithParseErrorsTest_CoreCLR(CoreCLRApplicationTestFixture fixture) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task PublishingPrintsParseErrors() - { - // Arrange - var applicationPath = ApplicationPaths.GetTestAppDirectory("ApplicationWithParseErrors"); - var indexPath = Path.Combine(applicationPath, "Views", "Home", "Index.cshtml"); - var viewImportsPath = Path.Combine(applicationPath, "Views", "Home", "About.cshtml"); - var expectedErrors = new[] - { - indexPath + " (0): The code block is missing a closing \"}\" character. Make sure you have a matching \"}\" character for all the \"{\" characters within this block, and that none of the \"}\" characters are being interpreted as markup.", - viewImportsPath + " (1): A space or line break was encountered after the \"@\" character. Only valid identifiers, keywords, comments, \"(\" and \"{\" are valid at the start of a code block and they must occur immediately following \"@\" with no space in between.", - - }; - var testSink = new TestSink(); - var loggerFactory = new TestLoggerFactory(testSink, enabled: true); - - // Act - await Assert.ThrowsAsync(() => Fixture.CreateDeploymentAsync(loggerFactory)); - - // Assert - var logs = testSink.Writes.Select(w => w.State.ToString().Trim()).ToList(); - foreach (var expectedError in expectedErrors) - { - Assert.Contains(logs, log => log.Contains(expectedError)); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/ApplicationWithTagHelpersTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/ApplicationWithTagHelpersTest_CoreCLR.cs deleted file mode 100644 index b1d3664da6..0000000000 --- a/test/FunctionalTests/CoreCLRTests/ApplicationWithTagHelpersTest_CoreCLR.cs +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class ApplicationWithTagHelpersTest_CoreCLR : - LoggedTest, IClassFixture> - { - public ApplicationWithTagHelpersTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task Precompilation_WorksForViewsThatUseTagHelpersFromProjectReferences() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/ClassLibraryTagHelper", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent($"ApplicationWithTagHelpers.Home.ClassLibraryTagHelper.txt", response); - } - } - - [Fact] - public async Task Precompilation_WorksForViewsThatUseTagHelpersFromCurrentProject() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/LocalTagHelper", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent($"ApplicationWithTagHelpers.Home.LocalTagHelper.txt", response); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/PublishWithDebugTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/PublishWithDebugTest_CoreCLR.cs deleted file mode 100644 index c66e4b68a5..0000000000 --- a/test/FunctionalTests/CoreCLRTests/PublishWithDebugTest_CoreCLR.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.IO; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Server.IntegrationTesting; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class PublishWithDebugTest_CoreCLR : - LoggedTest, IClassFixture - { - public PublishWithDebugTest_CoreCLR( - TestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task PublishingInDebugWorks() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Assert - var expected = Path.Combine(deployment.ContentRoot, $"{Fixture.ApplicationName}.PrecompiledViews.dll"); - Assert.True(File.Exists(expected), $"File {expected} does not exist."); - } - } - - public class TestFixture : CoreCLRApplicationTestFixture - { - public TestFixture() - { - PublishOnly = true; - } - - protected override DeploymentParameters GetDeploymentParameters() - { - var deploymentParameters = base.GetDeploymentParameters(); - deploymentParameters.Configuration = "Debug"; - - return deploymentParameters; - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/PublishWithEmbedViewSourcesTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/PublishWithEmbedViewSourcesTest_CoreCLR.cs deleted file mode 100644 index b6a3e54ae7..0000000000 --- a/test/FunctionalTests/CoreCLRTests/PublishWithEmbedViewSourcesTest_CoreCLR.cs +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class PublishWithEmbedViewSourcesTest_CoreCLR - : LoggedTest, IClassFixture> - { - public PublishWithEmbedViewSourcesTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task Precompilation_CanEmbedViewSourcesAsResources() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var logger = loggerFactory.CreateLogger(Fixture.ApplicationName); - var expectedViews = new[] - { - "/Areas/TestArea/Views/Home/Index.cshtml", - "/Views/Home/About.cshtml", - "/Views/Home/Index.cshtml", - }; - var expectedText = "Hello Index!"; - - // Act - 1 - var response1 = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/Index", - logger); - - // Assert - 1 - Assert.Equal(expectedText, response1.Trim()); - - // Act - 2 - var response2 = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/GetPrecompiledResourceNames", - logger); - - // Assert - 2 - var actual = response2.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries) - .OrderBy(p => p, StringComparer.OrdinalIgnoreCase); - Assert.Equal(expectedViews, actual); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/RazorPagesAppTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/RazorPagesAppTest_CoreCLR.cs deleted file mode 100644 index 9c9a107cb8..0000000000 --- a/test/FunctionalTests/CoreCLRTests/RazorPagesAppTest_CoreCLR.cs +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.AspNetCore.Server.IntegrationTesting; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class RazorPagesAppTest_CoreCLR : - LoggedTest, IClassFixture> - { - public RazorPagesAppTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact(Skip = "https://github.com/aspnet/MvcPrecompilation/issues/287")] - public async Task Precompilation_WorksForIndexPage_UsingFolderName() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.Index.txt", response); - } - } - - [Fact(Skip = "https://github.com/aspnet/MvcPrecompilation/issues/287")] - public async Task Precompilation_WorksForIndexPage_UsingFileName() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/Index", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.Index.txt", response); - } - } - - [Fact(Skip = "https://github.com/aspnet/MvcPrecompilation/issues/287")] - public async Task Precompilation_WorksForPageWithModel() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/PageWithModel?person=Dan", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.PageWithModel.txt", response); - } - } - - [Fact(Skip = "https://github.com/aspnet/MvcPrecompilation/issues/287")] - public async Task Precompilation_WorksForPageWithRoute() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/PageWithRoute/Dan", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.PageWithRoute.txt", response); - } - } - - [Fact(Skip = "https://github.com/aspnet/MvcPrecompilation/issues/287")] - public async Task Precompilation_WorksForPageInNestedFolder() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/Nested1/Nested2/PageWithTagHelper", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.Nested1.Nested2.PageWithTagHelper.txt", response); - } - } - - [Fact(Skip = "https://github.com/aspnet/MvcPrecompilation/issues/287")] - public async Task Precompilation_WorksWithPageConventions() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await RetryHelper.RetryRequest( - () => deployment.HttpClient.GetAsync("/Auth/Index"), - loggerFactory.CreateLogger(Fixture.ApplicationName), - retryCount: 5); - - // Assert - Assert.Equal("/Login?ReturnUrl=%2FAuth%2FIndex", response.RequestMessage.RequestUri.PathAndQuery); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/RazorSdkNeitherUsedTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/RazorSdkNeitherUsedTest_CoreCLR.cs deleted file mode 100644 index faea04ab38..0000000000 --- a/test/FunctionalTests/CoreCLRTests/RazorSdkNeitherUsedTest_CoreCLR.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.IO; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Server.IntegrationTesting; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - // Tests that cover cases where both Razor SDK and MvcPrecompilation are installed. This is the default in 2.1 - public class RazorSdkNeitherUsedTest_CoreCLR : LoggedTest, IClassFixture> - { - public RazorSdkNeitherUsedTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task Publish_HasNoPrecompilation() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await RetryHelper.RetryRequest( - () => deployment.HttpClient.GetAsync(deployment.ApplicationBaseUri), - loggerFactory.CreateLogger(Fixture.ApplicationName), - retryCount: 5); - - // Assert - Assert.False(File.Exists(Path.Combine(deployment.ContentRoot, "ApplicationWithRazorSdkNeitherUsed.PrecompiledViews.dll"))); - Assert.False(File.Exists(Path.Combine(deployment.ContentRoot, "ApplicationWithRazorSdkNeitherUsed.Views.dll"))); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/RazorSdkPrecompilationUsedTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/RazorSdkPrecompilationUsedTest_CoreCLR.cs deleted file mode 100644 index 130553d855..0000000000 --- a/test/FunctionalTests/CoreCLRTests/RazorSdkPrecompilationUsedTest_CoreCLR.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.IO; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - // Tests that cover cases where both Razor SDK and MvcPrecompilation are installed. This is the default in 2.1 - public class RazorSdkPrecompilationUsedTest_CoreCLR : LoggedTest, IClassFixture> - { - public RazorSdkPrecompilationUsedTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task Publish_UsesRazorSDK() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - Assert.True(File.Exists(Path.Combine(deployment.ContentRoot, "ApplicationWithRazorSdkPrecompilationUsed.PrecompiledViews.dll"))); - Assert.False(File.Exists(Path.Combine(deployment.ContentRoot, "ApplicationWithRazorSdkPrecompilationUsed.Views.dll"))); - TestEmbeddedResource.AssertContent("ApplicationWithRazorSdkPrecompilationUsed.Home.Index.txt", response); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/RazorSdkUsedTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/RazorSdkUsedTest_CoreCLR.cs deleted file mode 100644 index 6f1a4ff918..0000000000 --- a/test/FunctionalTests/CoreCLRTests/RazorSdkUsedTest_CoreCLR.cs +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.IO; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - // Tests that cover cases where both Razor SDK and MvcPrecompilation are installed. This is the default in 2.1 - public class RazorSdkUsedTest_CoreCLR : LoggedTest, IClassFixture> - { - public RazorSdkUsedTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task Publish_UsesRazorSDK() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var expectedViewLocation = Path.Combine(deployment.ContentRoot, "ApplicationWithRazorSdkUsed.Views.dll"); - var expectedPrecompiledViewsLocation = Path.Combine(deployment.ContentRoot, "ApplicationWithRazorSdkUsed.PrecompiledViews.dll"); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - Assert.False(File.Exists(expectedPrecompiledViewsLocation), $"{expectedPrecompiledViewsLocation} existed, but shouldn't have."); - Assert.True(File.Exists(expectedViewLocation), $"{expectedViewLocation} didn't exist."); - TestEmbeddedResource.AssertContent("ApplicationWithRazorSdkUsed.Home.Index.txt", response); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs index 9b90c31a17..30ecf38d36 100644 --- a/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs +++ b/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs @@ -22,7 +22,7 @@ namespace FunctionalTests public ApplicationTestFixture Fixture { get; } - [Fact(Skip = "Unblocking the build - https://github.com/aspnet/MvcPrecompilation/issues/224")] + [Fact] public async Task Precompilation_WorksForSimpleApps() { using (StartLog(out var loggerFactory)) diff --git a/test/FunctionalTests/CoreCLRTests/SimpleAppWithAssemblyRenameTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/SimpleAppWithAssemblyRenameTest_CoreCLR.cs deleted file mode 100644 index dddd8cf097..0000000000 --- a/test/FunctionalTests/CoreCLRTests/SimpleAppWithAssemblyRenameTest_CoreCLR.cs +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class SimpleAppWithAssemblyRenameTest_CoreCLR : - LoggedTest, IClassFixture - { - public SimpleAppWithAssemblyRenameTest_CoreCLR( - TestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task Precompilation_WorksForSimpleApps() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("SimpleAppWithAssemblyRenameTest.Home.Index.txt", response); - } - } - - public class TestFixture : CoreCLRApplicationTestFixture - { - public TestFixture() - : base( - typeof(SimpleAppWithAssemblyRename.Startup).Assembly.GetName().Name, - ApplicationPaths.GetTestAppDirectory(nameof(SimpleAppWithAssemblyRename))) - { - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/StrongNamedAppTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/StrongNamedAppTest_CoreCLR.cs deleted file mode 100644 index 4559a416fa..0000000000 --- a/test/FunctionalTests/CoreCLRTests/StrongNamedAppTest_CoreCLR.cs +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class StrongNamedAppTest_CoreCLR : - LoggedTest, IClassFixture> - { - public StrongNamedAppTest_CoreCLR( - CoreCLRApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task PrecompiledAssembliesUseSameStrongNameAsApplication() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("StrongNamedApp.Home.Index.txt", response); - } - } - } -} diff --git a/test/FunctionalTests/CoreCLRTests/ViewCompilationOptionsTest_CoreCLR.cs b/test/FunctionalTests/CoreCLRTests/ViewCompilationOptionsTest_CoreCLR.cs deleted file mode 100644 index 6b80eca31d..0000000000 --- a/test/FunctionalTests/CoreCLRTests/ViewCompilationOptionsTest_CoreCLR.cs +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Server.IntegrationTesting; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - public class ViewCompilationOptions_CoreCLR_ScenarioRefAssembliesDoNotGetPublished : - LoggedTest, IClassFixture - { - public ViewCompilationOptions_CoreCLR_ScenarioRefAssembliesDoNotGetPublished( - TestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [Fact] - public async Task PublishingWithOption_AllowsPublishingRefAssemblies() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act & Assert - Assert.True(Directory.Exists(Path.Combine(deployment.ContentRoot, "refs"))); - } - } - - public class TestFixture : CoreCLRApplicationTestFixture - { - public TestFixture() - { - PublishOnly = true; - } - - protected override DeploymentParameters GetDeploymentParameters() - { - var deploymentParameters = base.GetDeploymentParameters(); - deploymentParameters.PublishEnvironmentVariables.Add( - new KeyValuePair("MvcRazorExcludeRefAssembliesFromPublish", "false")); - - return deploymentParameters; - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/ApplicationUsingRelativePathsTest_Desktop.cs b/test/FunctionalTests/DesktopTests/ApplicationUsingRelativePathsTest_Desktop.cs deleted file mode 100644 index 4122fb7b65..0000000000 --- a/test/FunctionalTests/DesktopTests/ApplicationUsingRelativePathsTest_Desktop.cs +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class ApplicationUsingRelativePathsTest_Desktop : - LoggedTest, IClassFixture> - { - public ApplicationUsingRelativePathsTest_Desktop( - DesktopApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task Precompilation_WorksForViewsUsingRelativePath() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("ApplicationUsingRelativePaths.Home.Index.txt", response); - } - } - - [ConditionalFact] - public async Task Precompilation_WorksForViewsUsingDirectoryTraversal() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("ApplicationUsingRelativePaths.Home.About.txt", response); - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/ApplicationWithConfigureMvcTest_Desktop.cs b/test/FunctionalTests/DesktopTests/ApplicationWithConfigureMvcTest_Desktop.cs deleted file mode 100644 index 5e2db02762..0000000000 --- a/test/FunctionalTests/DesktopTests/ApplicationWithConfigureMvcTest_Desktop.cs +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class ApplicationWithConfigureMvcTest_Desktop - : LoggedTest, IClassFixture> - { - public ApplicationWithConfigureMvcTest_Desktop( - DesktopApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task Precompilation_RunsConfiguredCompilationCallbacks() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("ApplicationWithConfigureMvc.Home.Index.txt", response); - } - } - - [ConditionalFact] - public async Task Precompilation_UsesConfiguredParseOptions() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/ViewWithPreprocessor", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent( - "ApplicationWithConfigureMvc.Home.ViewWithPreprocessor.txt", - response); - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/ApplicationWithCustomInputFilesTest_Desktop.cs b/test/FunctionalTests/DesktopTests/ApplicationWithCustomInputFilesTest_Desktop.cs deleted file mode 100644 index cd519e5518..0000000000 --- a/test/FunctionalTests/DesktopTests/ApplicationWithCustomInputFilesTest_Desktop.cs +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class ApplicationWithCustomInputFilesTest_Desktop - : LoggedTest, IClassFixture> - { - public ApplicationWithCustomInputFilesTest_Desktop( - DesktopApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task ApplicationWithCustomInputFiles_Works() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var expectedText = "Hello Index!"; - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - Assert.Equal(expectedText, response.Trim()); - } - } - - [ConditionalFact] - public async Task MvcRazorFilesToCompile_OverridesTheFilesToBeCompiled() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var expectedViews = new[] - { - "/Views/Home/About.cshtml", - "/Views/Home/Index.cshtml", - }; - - // Act - var response2 = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/GetPrecompiledResourceNames", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - var actual = response2.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries) - .OrderBy(p => p, StringComparer.OrdinalIgnoreCase); - Assert.Equal(expectedViews, actual); - } - } - - [ConditionalFact] - public async Task MvcRazorFilesToCompile_SpecificallyDoesNotPublishFilesToBeCompiled() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var viewsNotPublished = new[] - { - "Index.cshtml", - "About.cshtml", - }; - - var viewsPublished = new[] - { - "NotIncluded.cshtml", - }; - var viewsDirectory = Path.Combine(deployment.ContentRoot, "Views", "Home"); - - // Act & Assert - foreach (var file in viewsPublished) - { - var filePath = Path.Combine(viewsDirectory, file); - Assert.True(File.Exists(filePath), $"{filePath} was not published."); - } - - foreach (var file in viewsNotPublished) - { - var filePath = Path.Combine(viewsDirectory, file); - Assert.False(File.Exists(filePath), $"{filePath} was published."); - } - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/ApplicationWithParseErrorsTest_Desktop.cs b/test/FunctionalTests/DesktopTests/ApplicationWithParseErrorsTest_Desktop.cs deleted file mode 100644 index 587cbd9b32..0000000000 --- a/test/FunctionalTests/DesktopTests/ApplicationWithParseErrorsTest_Desktop.cs +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class ApplicationWithParseErrorsTest_Desktop - : IClassFixture> - { - public ApplicationWithParseErrorsTest_Desktop(DesktopApplicationTestFixture fixture) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task PublishingPrintsParseErrors() - { - // Arrange - var applicationPath = ApplicationPaths.GetTestAppDirectory("ApplicationWithParseErrors"); - var indexPath = Path.Combine(applicationPath, "Views", "Home", "Index.cshtml"); - var viewImportsPath = Path.Combine(applicationPath, "Views", "Home", "About.cshtml"); - var expectedErrors = new[] - { - indexPath + " (0): The code block is missing a closing \"}\" character. Make sure you have a matching \"}\" character for all the \"{\" characters within this block, and that none of the \"}\" characters are being interpreted as markup.", - viewImportsPath + " (1): A space or line break was encountered after the \"@\" character. Only valid identifiers, keywords, comments, \"(\" and \"{\" are valid at the start of a code block and they must occur immediately following \"@\" with no space in between.", - - }; - var testSink = new TestSink(); - var loggerFactory = new TestLoggerFactory(testSink, enabled: true); - - // Act - await Assert.ThrowsAsync(() => Fixture.CreateDeploymentAsync(loggerFactory)); - - // Assert - var logs = testSink.Writes.Select(w => w.State.ToString().Trim()).ToList(); - foreach (var expectedError in expectedErrors) - { - Assert.Contains(logs, log => log.Contains(expectedError)); - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/ApplicationWithTagHelpersTest_Desktop.cs b/test/FunctionalTests/DesktopTests/ApplicationWithTagHelpersTest_Desktop.cs deleted file mode 100644 index 8b3508be2b..0000000000 --- a/test/FunctionalTests/DesktopTests/ApplicationWithTagHelpersTest_Desktop.cs +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class ApplicationWithTagHelpersTest_Desktop : - LoggedTest, IClassFixture> - { - public ApplicationWithTagHelpersTest_Desktop( - DesktopApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task Precompilation_WorksForViewsThatUseTagHelpersFromProjectReferences() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/ClassLibraryTagHelper", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent($"ApplicationWithTagHelpers.Home.ClassLibraryTagHelper.txt", response); - } - } - - [ConditionalFact] - public async Task Precompilation_WorksForViewsThatUseTagHelpersFromCurrentProject() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/LocalTagHelper", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent($"ApplicationWithTagHelpers.Home.LocalTagHelper.txt", response); - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/PublishWithDebugTest_Desktop.cs b/test/FunctionalTests/DesktopTests/PublishWithDebugTest_Desktop.cs deleted file mode 100644 index 8dd660f420..0000000000 --- a/test/FunctionalTests/DesktopTests/PublishWithDebugTest_Desktop.cs +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.IO; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Server.IntegrationTesting; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class PublishWithDebugTest_Desktop : - LoggedTest, IClassFixture - { - public PublishWithDebugTest_Desktop( - TestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task PublishingInDebugWorks() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Assert - var expected = Path.Combine(deployment.ContentRoot, $"{Fixture.ApplicationName}.PrecompiledViews.dll"); - Assert.True(File.Exists(expected), $"File {expected} does not exist."); - } - } - - public class TestFixture : DesktopApplicationTestFixture - { - public TestFixture() - { - PublishOnly = true; - } - - protected override DeploymentParameters GetDeploymentParameters() - { - var deploymentParameters = base.GetDeploymentParameters(); - deploymentParameters.Configuration = "Debug"; - - return deploymentParameters; - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/PublishWithEmbedViewSourcesTest_Desktop.cs b/test/FunctionalTests/DesktopTests/PublishWithEmbedViewSourcesTest_Desktop.cs deleted file mode 100644 index eea2b45da7..0000000000 --- a/test/FunctionalTests/DesktopTests/PublishWithEmbedViewSourcesTest_Desktop.cs +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class PublishWithEmbedViewSourcesTest_Desktop - : LoggedTest, IClassFixture> - { - public PublishWithEmbedViewSourcesTest_Desktop( - DesktopApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task Precompilation_CanEmbedViewSourcesAsResources() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - var logger = loggerFactory.CreateLogger(Fixture.ApplicationName); - var expectedViews = new[] - { - "/Areas/TestArea/Views/Home/Index.cshtml", - "/Views/Home/About.cshtml", - "/Views/Home/Index.cshtml", - }; - var expectedText = "Hello Index!"; - - // Act - 1 - var response1 = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/Index", - logger); - - // Assert - 1 - Assert.Equal(expectedText, response1.Trim()); - - // Act - 2 - var response2 = await deployment.HttpClient.GetStringWithRetryAsync( - "Home/GetPrecompiledResourceNames", - logger); - - // Assert - 2 - var actual = response2.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries) - .OrderBy(p => p, StringComparer.OrdinalIgnoreCase); - Assert.Equal(expectedViews, actual); - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/RazorPagesAppTest_Desktop.cs b/test/FunctionalTests/DesktopTests/RazorPagesAppTest_Desktop.cs deleted file mode 100644 index bbdf42bdaf..0000000000 --- a/test/FunctionalTests/DesktopTests/RazorPagesAppTest_Desktop.cs +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.AspNetCore.Server.IntegrationTesting; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class RazorPagesAppTest_Desktop : - LoggedTest, IClassFixture> - { - public RazorPagesAppTest_Desktop( - DesktopApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task Precompilation_WorksForIndexPage_UsingFolderName() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.Index.txt", response); - } - } - - [ConditionalFact] - public async Task Precompilation_WorksForIndexPage_UsingFileName() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/Index", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.Index.txt", response); - } - } - - [ConditionalFact] - public async Task Precompilation_WorksForPageWithModel() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/PageWithModel?person=Dan", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.PageWithModel.txt", response); - } - } - - [ConditionalFact] - public async Task Precompilation_WorksForPageWithRoute() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/PageWithRoute/Dan", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.PageWithRoute.txt", response); - } - } - - [ConditionalFact] - public async Task Precompilation_WorksForPageInNestedFolder() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - "/Nested1/Nested2/PageWithTagHelper", - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("RazorPages.Nested1.Nested2.PageWithTagHelper.txt", response); - } - } - - [ConditionalFact] - public async Task Precompilation_WorksWithPageConventions() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await RetryHelper.RetryRequest( - () => deployment.HttpClient.GetAsync("/Auth/Index"), - loggerFactory.CreateLogger(Fixture.ApplicationName), - retryCount: 5); - - // Assert - Assert.Equal("/Login?ReturnUrl=%2FAuth%2FIndex", response.RequestMessage.RequestUri.PathAndQuery); - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs b/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs index fb70a5a53e..e3fa91caa5 100644 --- a/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs +++ b/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs @@ -25,7 +25,7 @@ namespace FunctionalTests public ApplicationTestFixture Fixture { get; } - [ConditionalFact(Skip = "Unblocking the build - https://github.com/aspnet/MvcPrecompilation/issues/224")] + [ConditionalFact] public async Task Precompilation_WorksForSimpleApps() { using (StartLog(out var loggerFactory)) diff --git a/test/FunctionalTests/DesktopTests/SimpleAppWithAssemblyRenameTest_Desktop.cs b/test/FunctionalTests/DesktopTests/SimpleAppWithAssemblyRenameTest_Desktop.cs deleted file mode 100644 index bb16ce3dea..0000000000 --- a/test/FunctionalTests/DesktopTests/SimpleAppWithAssemblyRenameTest_Desktop.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class SimpleAppWithAssemblyRenameTest_Desktop : - LoggedTest, IClassFixture - { - public SimpleAppWithAssemblyRenameTest_Desktop( - TestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task Precompilation_WorksForSimpleApps() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("SimpleAppWithAssemblyRenameTest.Home.Index.txt", response); - } - } - - public class TestFixture : DesktopApplicationTestFixture - { - public TestFixture() - : base( - typeof(SimpleAppWithAssemblyRename.Startup).Assembly.GetName().Name, - ApplicationPaths.GetTestAppDirectory(nameof(SimpleAppWithAssemblyRename))) - { - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/StrongNamedAppTest_Desktop.cs b/test/FunctionalTests/DesktopTests/StrongNamedAppTest_Desktop.cs deleted file mode 100644 index 16f63fbe3b..0000000000 --- a/test/FunctionalTests/DesktopTests/StrongNamedAppTest_Desktop.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Threading.Tasks; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class StrongNamedAppTest_Desktop : - LoggedTest, IClassFixture> - { - public StrongNamedAppTest_Desktop( - DesktopApplicationTestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task PrecompiledAssembliesUseSameStrongNameAsApplication() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act - var response = await deployment.HttpClient.GetStringWithRetryAsync( - deployment.ApplicationBaseUri, - loggerFactory.CreateLogger(Fixture.ApplicationName)); - - // Assert - TestEmbeddedResource.AssertContent("StrongNamedApp.Home.Index.txt", response); - } - } - } -} diff --git a/test/FunctionalTests/DesktopTests/ViewCompilationOptionsTest_Desktop.cs b/test/FunctionalTests/DesktopTests/ViewCompilationOptionsTest_Desktop.cs deleted file mode 100644 index 053b7456a9..0000000000 --- a/test/FunctionalTests/DesktopTests/ViewCompilationOptionsTest_Desktop.cs +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Server.IntegrationTesting; -using Microsoft.AspNetCore.Testing.xunit; -using Microsoft.Extensions.Logging.Testing; -using Xunit; -using Xunit.Abstractions; - -namespace FunctionalTests -{ - [OSSkipCondition(OperatingSystems.Linux)] - [OSSkipCondition(OperatingSystems.MacOSX)] - public class ViewCompilationOptions_Desktop_ScenarioRefAssembliesDoNotGetPublished : - LoggedTest, IClassFixture - { - public ViewCompilationOptions_Desktop_ScenarioRefAssembliesDoNotGetPublished( - TestFixture fixture, - ITestOutputHelper output) - : base(output) - { - Fixture = fixture; - } - - public ApplicationTestFixture Fixture { get; } - - [ConditionalFact] - public async Task PublishingWithOption_AllowsPublishingRefAssemblies() - { - using (StartLog(out var loggerFactory)) - { - // Arrange - var deployment = await Fixture.CreateDeploymentAsync(loggerFactory); - - // Act & Assert - Assert.True(Directory.Exists(Path.Combine(deployment.ContentRoot, "refs"))); - } - } - - public class TestFixture : DesktopApplicationTestFixture - { - public TestFixture() - { - PublishOnly = true; - } - - protected override DeploymentParameters GetDeploymentParameters() - { - var deploymentParameters = base.GetDeploymentParameters(); - deploymentParameters.PublishEnvironmentVariables.Add( - new KeyValuePair("MvcRazorExcludeRefAssembliesFromPublish", "false")); - - return deploymentParameters; - } - } - } -} diff --git a/test/FunctionalTests/Resources/ApplicationConsumingPrecompiledViews.Manage.Home.Index.txt b/test/FunctionalTests/Resources/ApplicationConsumingPrecompiledViews.Manage.Home.Index.txt deleted file mode 100644 index e4baad155e..0000000000 --- a/test/FunctionalTests/Resources/ApplicationConsumingPrecompiledViews.Manage.Home.Index.txt +++ /dev/null @@ -1,13 +0,0 @@ - - - - ClassLibraryWithPrecompiledViews.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - -

Admin home page

- - - - Test section - - - diff --git a/test/FunctionalTests/Resources/ApplicationUsingRelativePaths.Home.About.txt b/test/FunctionalTests/Resources/ApplicationUsingRelativePaths.Home.About.txt deleted file mode 100644 index c3b073162c..0000000000 --- a/test/FunctionalTests/Resources/ApplicationUsingRelativePaths.Home.About.txt +++ /dev/null @@ -1,8 +0,0 @@ - - - - -ApplicationUsingRelativePaths.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -Hello from Index! - - \ No newline at end of file diff --git a/test/FunctionalTests/Resources/ApplicationUsingRelativePaths.Home.Index.txt b/test/FunctionalTests/Resources/ApplicationUsingRelativePaths.Home.Index.txt deleted file mode 100644 index c3b073162c..0000000000 --- a/test/FunctionalTests/Resources/ApplicationUsingRelativePaths.Home.Index.txt +++ /dev/null @@ -1,8 +0,0 @@ - - - - -ApplicationUsingRelativePaths.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -Hello from Index! - - \ No newline at end of file diff --git a/test/FunctionalTests/Resources/ApplicationWithConfigureMvc.Home.Index.txt b/test/FunctionalTests/Resources/ApplicationWithConfigureMvc.Home.Index.txt deleted file mode 100644 index 6ed3f16836..0000000000 --- a/test/FunctionalTests/Resources/ApplicationWithConfigureMvc.Home.Index.txt +++ /dev/null @@ -1,2 +0,0 @@ -ApplicationWithConfigureMvc.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -
Hello world! \ No newline at end of file diff --git a/test/FunctionalTests/Resources/ApplicationWithConfigureMvc.Home.ViewWithPreprocessor.txt b/test/FunctionalTests/Resources/ApplicationWithConfigureMvc.Home.ViewWithPreprocessor.txt deleted file mode 100644 index 8d0df2adff..0000000000 --- a/test/FunctionalTests/Resources/ApplicationWithConfigureMvc.Home.ViewWithPreprocessor.txt +++ /dev/null @@ -1 +0,0 @@ -Hello from Test123 \ No newline at end of file diff --git a/test/FunctionalTests/Resources/ApplicationWithRazorSdkPrecompilationUsed.Home.Index.txt b/test/FunctionalTests/Resources/ApplicationWithRazorSdkPrecompilationUsed.Home.Index.txt deleted file mode 100644 index ed399bf490..0000000000 --- a/test/FunctionalTests/Resources/ApplicationWithRazorSdkPrecompilationUsed.Home.Index.txt +++ /dev/null @@ -1,8 +0,0 @@ - - - - -ApplicationWithRazorSdkPrecompilationUsed.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -Hello from Index! - - \ No newline at end of file diff --git a/test/FunctionalTests/Resources/ApplicationWithRazorSdkUsed.Home.Index.txt b/test/FunctionalTests/Resources/ApplicationWithRazorSdkUsed.Home.Index.txt deleted file mode 100644 index ed93ca56a8..0000000000 --- a/test/FunctionalTests/Resources/ApplicationWithRazorSdkUsed.Home.Index.txt +++ /dev/null @@ -1,8 +0,0 @@ - - - - -ApplicationWithRazorSdkUsed.Views, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -Hello from Index! - - \ No newline at end of file diff --git a/test/FunctionalTests/Resources/ApplicationWithTagHelpers.Home.ClassLibraryTagHelper.txt b/test/FunctionalTests/Resources/ApplicationWithTagHelpers.Home.ClassLibraryTagHelper.txt deleted file mode 100644 index f3a28a4d23..0000000000 --- a/test/FunctionalTests/Resources/ApplicationWithTagHelpers.Home.ClassLibraryTagHelper.txt +++ /dev/null @@ -1,25 +0,0 @@ - - - - - ApplicationWithTagHelpers - - - - -
- -ApplicationWithTagHelpers.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -
To boldy tag that no one has ever tagged before...
- - - - -
-
-

© 2016 - ApplicationWithTagHelpers

-
-
- - ApplicationWithTagHelpers.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - diff --git a/test/FunctionalTests/Resources/ApplicationWithTagHelpers.Home.LocalTagHelper.txt b/test/FunctionalTests/Resources/ApplicationWithTagHelpers.Home.LocalTagHelper.txt deleted file mode 100644 index 43afc098bd..0000000000 --- a/test/FunctionalTests/Resources/ApplicationWithTagHelpers.Home.LocalTagHelper.txt +++ /dev/null @@ -1,25 +0,0 @@ - - - - - ApplicationWithTagHelpers - - - - -
- -ApplicationWithTagHelpers.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -TestTagHelper content. - - - - -
-
-

© 2016 - ApplicationWithTagHelpers

-
-
- - ApplicationWithTagHelpers.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - diff --git a/test/FunctionalTests/Resources/RazorPages.Index.txt b/test/FunctionalTests/Resources/RazorPages.Index.txt deleted file mode 100644 index ff3f1d2458..0000000000 --- a/test/FunctionalTests/Resources/RazorPages.Index.txt +++ /dev/null @@ -1,2 +0,0 @@ - -Hello world! \ No newline at end of file diff --git a/test/FunctionalTests/Resources/RazorPages.Nested1.Nested2.PageWithTagHelper.txt b/test/FunctionalTests/Resources/RazorPages.Nested1.Nested2.PageWithTagHelper.txt deleted file mode 100644 index 9cf6533fae..0000000000 --- a/test/FunctionalTests/Resources/RazorPages.Nested1.Nested2.PageWithTagHelper.txt +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/test/FunctionalTests/Resources/RazorPages.PageWithModel.txt b/test/FunctionalTests/Resources/RazorPages.PageWithModel.txt deleted file mode 100644 index 1cdbdae92e..0000000000 --- a/test/FunctionalTests/Resources/RazorPages.PageWithModel.txt +++ /dev/null @@ -1,2 +0,0 @@ - -Greetings Dan! \ No newline at end of file diff --git a/test/FunctionalTests/Resources/RazorPages.PageWithRoute.txt b/test/FunctionalTests/Resources/RazorPages.PageWithRoute.txt deleted file mode 100644 index 1cdbdae92e..0000000000 --- a/test/FunctionalTests/Resources/RazorPages.PageWithRoute.txt +++ /dev/null @@ -1,2 +0,0 @@ - -Greetings Dan! \ No newline at end of file diff --git a/test/FunctionalTests/Resources/SimpleAppWithAssemblyRenameTest.Home.Index.txt b/test/FunctionalTests/Resources/SimpleAppWithAssemblyRenameTest.Home.Index.txt deleted file mode 100644 index 29d346230b..0000000000 --- a/test/FunctionalTests/Resources/SimpleAppWithAssemblyRenameTest.Home.Index.txt +++ /dev/null @@ -1,2 +0,0 @@ - -NewAssemblyName.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null \ No newline at end of file diff --git a/test/FunctionalTests/Resources/StrongNamedApp.Home.Index.txt b/test/FunctionalTests/Resources/StrongNamedApp.Home.Index.txt deleted file mode 100644 index edfb07d5d7..0000000000 --- a/test/FunctionalTests/Resources/StrongNamedApp.Home.Index.txt +++ /dev/null @@ -1 +0,0 @@ -Hello from view in StrongNamedApp.PrecompiledViews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 From 0ea7940af5302cfe13e7559f415a6ff55dd1fe2f Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 27 Nov 2018 10:49:05 -0800 Subject: [PATCH 5/6] Reorganize source code in preparation to move into aspnet/AspNetCore Prior to reorganization, this source code was found in https://github.com/aspnet/MvcPrecompilation/tree/617586a984b1eff9ca0ca8126dd0b1dab2ea16f2 --- .appveyor.yml | 17 -- .gitattributes | 52 ---- .github/ISSUE_TEMPALTE.md | 1 - .github/PULL_REQUEST_TEMPLATE.md | 1 - .travis.yml | 27 -- CONTRIBUTING.md | 4 - LICENSE.txt | 14 -- NuGet.config | 7 - build.cmd | 2 - build.sh | 8 - korebuild-lock.txt | 2 - korebuild.json | 4 - run.cmd | 2 - run.ps1 | 196 --------------- run.sh | 231 ------------------ .../MvcPrecompilation/.gitignore | 0 .../MvcPrecompilation/Directory.Build.props | 0 .../MvcPrecompilation/Directory.Build.targets | 0 .../NuGetPackageVerifier.json | 0 README.md => src/MvcPrecompilation/README.md | 0 .../RazorViewCompilation.sln | 0 .../MvcPrecompilation/build}/Key.snk | Bin .../build}/dependencies.props | 0 .../MvcPrecompilation/build}/repo.props | 0 .../MvcPrecompilation/build}/sources.props | 0 .../src}/Directory.Build.props | 0 .../GetDotNetHost.cs | 0 ...ore.Mvc.Razor.ViewCompilation.Tasks.csproj | 0 .../Internal/AssemblyMetadataGenerator.cs | 0 .../Internal/CompilationOptions.cs | 0 .../Internal/DebugHelper.cs | 0 .../Internal/MvcServiceProvider.cs | 0 .../Internal/PrecompilationApplication.cs | 0 .../Internal/PrecompileRunCommand.cs | 0 .../Internal/SnkUtils.cs | 0 .../Internal/ViewCompilationInfo.cs | 0 .../Internal/ViewFileInfo.cs | 0 ...spNetCore.Mvc.Razor.ViewCompilation.csproj | 0 ...spNetCore.Mvc.Razor.ViewCompilation.nuspec | 0 .../Program.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../baseline.netcore.json | 0 ...pNetCore.Mvc.Razor.ViewCompilation.targets | 0 .../lib/net461/_._ | 0 .../lib/netcoreapp2.0/_._ | 0 .../test}/Directory.Build.props | 0 .../CoreCLRApplicationTestFixture.cs | 0 .../CoreCLRTests/SimpleAppTest_CoreCLR.cs | 0 .../DesktopApplicationTestFixture.cs | 0 .../DesktopTests/SimpleAppTest_Desktop.cs | 0 .../FunctionalTests/FunctionalTests.csproj | 0 .../Infrastructure/ApplicationPaths.cs | 0 .../Infrastructure/ApplicationTestFixture.cs | 0 .../Infrastructure/HttpClientExtensions.cs | 0 .../Infrastructure/PublishOnlyDeployer.cs | 0 .../Infrastructure/TestEmbeddedResource.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../Resources/SimpleAppTest.Home.Index.txt | 0 ...Core.Mvc.Razor.ViewCompilation.Test.csproj | 0 .../PrecompileRunCommandTest.cs | 0 .../ApplicationUsingRelativePaths.csproj | 0 .../Controllers/HomeController.cs | 0 .../ApplicationUsingRelativePaths/Program.cs | 0 .../ApplicationUsingRelativePaths/Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 .../ApplicationWithConfigureMvc.csproj | 0 .../Controllers/HomeController.cs | 0 .../ApplicationWithConfigureMvc/Program.cs | 0 .../RazorRewriter.cs | 0 .../ApplicationWithConfigureMvc/Startup.cs | 0 .../Views/Home/Index.cshtml | 0 .../Views/Home/ViewWithPreprocessor.cshtml | 0 .../ApplicationWithCustomInputFiles.csproj | 0 .../Controllers/HomeController.cs | 0 .../Program.cs | 0 .../Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Home/NotIncluded.cshtml | 0 .../ApplicationWithParseErrors.csproj | 0 .../ApplicationWithParseErrors/Program.cs | 0 .../ApplicationWithParseErrors/Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../ApplicationWithRazorSdkNeitherUsed.csproj | 0 .../Controllers/HomeController.cs | 0 .../Program.cs | 0 .../Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 ...ationWithRazorSdkPrecompilationUsed.csproj | 0 .../Controllers/HomeController.cs | 0 .../Program.cs | 0 .../Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 .../ApplicationWithRazorSdkUsed.csproj | 0 .../Controllers/HomeController.cs | 0 .../ApplicationWithRazorSdkUsed/Program.cs | 0 .../ApplicationWithRazorSdkUsed/Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 .../ApplicationWithTagHelpers.csproj | 0 .../Components/CopyrightViewComponent.cs | 0 .../Controllers/HomeController.cs | 0 .../ApplicationWithTagHelpers/Program.cs | 0 .../ApplicationWithTagHelpers/Startup.cs | 0 .../TagHelpers/TestTagHelper.cs | 0 .../Views/Home/ClassLibraryTagHelper.cshtml | 0 .../Views/Home/LocalTagHelper.cshtml | 0 .../Components/Copyright/Default.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 .../ClassLibraryTagHelper/BoldTagHelper.cs | 0 .../ClassLibraryTagHelper.csproj | 0 .../testapps}/Directory.Build.props | 0 .../testapps}/Directory.Build.targets | 0 .../Areas/TestArea/Views/Home/Index.cshtml | 0 .../Controllers/HomeController.cs | 0 .../PublishWithEmbedViewSources/Program.cs | 0 .../PublishWithEmbedViewSources.csproj | 0 .../PublishWithEmbedViewSources/Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../RazorPagesApp/Pages/Auth/Index.cshtml | 0 .../RazorPagesApp/Pages/Index.cshtml | 0 .../RazorPagesApp/Pages/Login.cshtml | 0 .../RazorPagesApp/Pages/MyPageModel.cs | 0 .../Nested1/Nested2/PageWithTagHelper.cshtml | 0 .../Pages/Nested1/_ViewImports.cshtml | 0 .../RazorPagesApp/Pages/PageWithModel.cshtml | 0 .../RazorPagesApp/Pages/PageWithRoute.cshtml | 0 .../RazorPagesApp/Pages/_PageStart.cshtml | 0 .../RazorPagesApp/Pages/_ViewImports.cshtml | 0 .../testapps}/RazorPagesApp/Program.cs | 0 .../RazorPagesApp/RazorPagesApp.csproj | 0 .../testapps}/RazorPagesApp/Startup.cs | 0 .../RazorPagesApp/Views/Shared/_Layout.cshtml | 0 .../SimpleApp/Controllers/HomeController.cs | 0 .../testapps}/SimpleApp/Program.cs | 0 .../testapps}/SimpleApp/SimpleApp.csproj | 0 .../testapps}/SimpleApp/Startup.cs | 0 .../SimpleApp/Views/Home/About.cshtml | 0 .../SimpleApp/Views/Home/Index.cshtml | 0 .../SimpleApp/Views/Shared/_Layout.cshtml | 0 .../SimpleApp/Views/_ViewImports.cshtml | 0 .../SimpleApp/Views/_ViewStart.cshtml | 0 .../Controllers/HomeController.cs | 0 .../SimpleAppWithAssemblyRename/Program.cs | 0 .../SimpleAppWithAssemblyRename.csproj | 0 .../SimpleAppWithAssemblyRename/Startup.cs | 0 .../Views/Home/Index.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Controllers/HomeController.cs | 0 .../testapps}/StrongNamedApp/Program.cs | 0 .../testapps}/StrongNamedApp/Startup.cs | 0 .../StrongNamedApp/StrongNamedApp.csproj | 0 .../StrongNamedApp/Views/Home/Index.cshtml | 0 .../MvcPrecompilation/version.props | 0 173 files changed, 568 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .gitattributes delete mode 100644 .github/ISSUE_TEMPALTE.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md delete mode 100644 .travis.yml delete mode 100644 CONTRIBUTING.md delete mode 100644 LICENSE.txt delete mode 100644 NuGet.config delete mode 100644 build.cmd delete mode 100755 build.sh delete mode 100644 korebuild-lock.txt delete mode 100644 korebuild.json delete mode 100644 run.cmd delete mode 100644 run.ps1 delete mode 100755 run.sh rename .gitignore => src/MvcPrecompilation/.gitignore (100%) rename Directory.Build.props => src/MvcPrecompilation/Directory.Build.props (100%) rename Directory.Build.targets => src/MvcPrecompilation/Directory.Build.targets (100%) rename NuGetPackageVerifier.json => src/MvcPrecompilation/NuGetPackageVerifier.json (100%) rename README.md => src/MvcPrecompilation/README.md (100%) rename RazorViewCompilation.sln => src/MvcPrecompilation/RazorViewCompilation.sln (100%) rename {build => src/MvcPrecompilation/build}/Key.snk (100%) rename {build => src/MvcPrecompilation/build}/dependencies.props (100%) rename {build => src/MvcPrecompilation/build}/repo.props (100%) rename {build => src/MvcPrecompilation/build}/sources.props (100%) rename src/{ => MvcPrecompilation/src}/Directory.Build.props (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ (100%) rename {test => src/MvcPrecompilation/test}/Directory.Build.props (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/FunctionalTests.csproj (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/ApplicationPaths.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/ApplicationTestFixture.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/HttpClientExtensions.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/TestEmbeddedResource.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Properties/AssemblyInfo.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt (100%) rename {test => src/MvcPrecompilation/test}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj (100%) rename {test => src/MvcPrecompilation/test}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/ApplicationUsingRelativePaths.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationUsingRelativePaths/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/RazorRewriter.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ClassLibraryTagHelper/BoldTagHelper.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/Directory.Build.props (100%) rename {testapps => src/MvcPrecompilation/testapps}/Directory.Build.targets (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Auth/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Login.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/MyPageModel.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/PageWithModel.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/PageWithRoute.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/_PageStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/RazorPagesApp.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/SimpleApp.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/StrongNamedApp.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/Views/Home/Index.cshtml (100%) rename version.props => src/MvcPrecompilation/version.props (100%) diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 4eea96ab69..0000000000 --- a/.appveyor.yml +++ /dev/null @@ -1,17 +0,0 @@ -init: -- git config --global core.autocrlf true -branches: - only: - - dev - - /^release\/.*$/ - - /^(.*\/)?ci-.*$/ -build_script: -- ps: .\run.ps1 default-build -clone_depth: 1 -environment: - global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 -test: 'off' -deploy: 'off' -os: Visual Studio 2017 diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index d4ee1cb7f3..0000000000 --- a/.gitattributes +++ /dev/null @@ -1,52 +0,0 @@ -*.doc diff=astextplain -*.DOC diff=astextplain -*.docx diff=astextplain -*.DOCX diff=astextplain -*.dot diff=astextplain -*.DOT diff=astextplain -*.pdf diff=astextplain -*.PDF diff=astextplain -*.rtf diff=astextplain -*.RTF diff=astextplain - -*.jpg binary -*.png binary -*.gif binary - -*.cs text=auto diff=csharp -*.vb text=auto -*.resx text=auto -*.c text=auto -*.cpp text=auto -*.cxx text=auto -*.h text=auto -*.hxx text=auto -*.py text=auto -*.rb text=auto -*.java text=auto -*.html text=auto -*.htm text=auto -*.css text=auto -*.scss text=auto -*.sass text=auto -*.less text=auto -*.js text=auto -*.lisp text=auto -*.clj text=auto -*.sql text=auto -*.php text=auto -*.lua text=auto -*.m text=auto -*.asm text=auto -*.erl text=auto -*.fs text=auto -*.fsx text=auto -*.hs text=auto - -*.csproj text=auto -*.vbproj text=auto -*.fsproj text=auto -*.dbproj text=auto -*.sln text=auto eol=crlf - -*.sh eol=lf diff --git a/.github/ISSUE_TEMPALTE.md b/.github/ISSUE_TEMPALTE.md deleted file mode 100644 index 37655ead71..0000000000 --- a/.github/ISSUE_TEMPALTE.md +++ /dev/null @@ -1 +0,0 @@ -NOTE: This repo is solely for maintenance of the existing MVC precompilation feature. Future work on Razor compilation is now being handled in the [Razor](https://github.com/aspnet/razor) repo. See [aspnet/Razor#1740](https://github.com/aspnet/Razor/issues/1740) for additional details. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 37655ead71..0000000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1 +0,0 @@ -NOTE: This repo is solely for maintenance of the existing MVC precompilation feature. Future work on Razor compilation is now being handled in the [Razor](https://github.com/aspnet/razor) repo. See [aspnet/Razor#1740](https://github.com/aspnet/Razor/issues/1740) for additional details. diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 64bdbb4441..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -language: csharp -sudo: false -dist: trusty -env: - global: - - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - - DOTNET_CLI_TELEMETRY_OPTOUT: 1 -mono: none -os: -- linux -- osx -osx_image: xcode8.2 -addons: - apt: - packages: - - libunwind8 -branches: - only: - - dev - - /^release\/.*$/ - - /^(.*\/)?ci-.*$/ -before_install: -- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s - /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib - /usr/local/lib/; fi -script: -- ./build.sh diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 64ff041d5c..0000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,4 +0,0 @@ -Contributing -====== - -Information on contributing to this repo is in the [Contributing Guide](https://github.com/aspnet/Home/blob/dev/CONTRIBUTING.md) in the Home repo. diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index 7b2956ecee..0000000000 --- a/LICENSE.txt +++ /dev/null @@ -1,14 +0,0 @@ -Copyright (c) .NET Foundation and Contributors - -All rights reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed -under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the -specific language governing permissions and limitations under the License. diff --git a/NuGet.config b/NuGet.config deleted file mode 100644 index e32bddfd51..0000000000 --- a/NuGet.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/build.cmd b/build.cmd deleted file mode 100644 index c0050bda12..0000000000 --- a/build.cmd +++ /dev/null @@ -1,2 +0,0 @@ -@ECHO OFF -PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' default-build %*; exit $LASTEXITCODE" diff --git a/build.sh b/build.sh deleted file mode 100755 index 98a4b22765..0000000000 --- a/build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Call "sync" between "chmod" and execution to prevent "text file busy" error in Docker (aufs) -chmod +x "$DIR/run.sh"; sync -"$DIR/run.sh" default-build "$@" diff --git a/korebuild-lock.txt b/korebuild-lock.txt deleted file mode 100644 index 251c227c83..0000000000 --- a/korebuild-lock.txt +++ /dev/null @@ -1,2 +0,0 @@ -version:2.1.3-rtm-15802 -commithash:a7c08b45b440a7d2058a0aa1eaa3eb6ba811976a diff --git a/korebuild.json b/korebuild.json deleted file mode 100644 index 678d8bb948..0000000000 --- a/korebuild.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/release/2.1/tools/korebuild.schema.json", - "channel": "release/2.1" -} diff --git a/run.cmd b/run.cmd deleted file mode 100644 index d52d5c7e68..0000000000 --- a/run.cmd +++ /dev/null @@ -1,2 +0,0 @@ -@ECHO OFF -PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' %*; exit $LASTEXITCODE" diff --git a/run.ps1 b/run.ps1 deleted file mode 100644 index 27dcf848f8..0000000000 --- a/run.ps1 +++ /dev/null @@ -1,196 +0,0 @@ -#!/usr/bin/env powershell -#requires -version 4 - -<# -.SYNOPSIS -Executes KoreBuild commands. - -.DESCRIPTION -Downloads korebuild if required. Then executes the KoreBuild command. To see available commands, execute with `-Command help`. - -.PARAMETER Command -The KoreBuild command to run. - -.PARAMETER Path -The folder to build. Defaults to the folder containing this script. - -.PARAMETER Channel -The channel of KoreBuild to download. Overrides the value from the config file. - -.PARAMETER DotNetHome -The directory where .NET Core tools will be stored. - -.PARAMETER ToolsSource -The base url where build tools can be downloaded. Overrides the value from the config file. - -.PARAMETER Update -Updates KoreBuild to the latest version even if a lock file is present. - -.PARAMETER ConfigFile -The path to the configuration file that stores values. Defaults to korebuild.json. - -.PARAMETER ToolsSourceSuffix -The Suffix to append to the end of the ToolsSource. Useful for query strings in blob stores. - -.PARAMETER Arguments -Arguments to be passed to the command - -.NOTES -This function will create a file $PSScriptRoot/korebuild-lock.txt. This lock file can be committed to source, but does not have to be. -When the lockfile is not present, KoreBuild will create one using latest available version from $Channel. - -The $ConfigFile is expected to be an JSON file. It is optional, and the configuration values in it are optional as well. Any options set -in the file are overridden by command line parameters. - -.EXAMPLE -Example config file: -```json -{ - "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json", - "channel": "dev", - "toolsSource": "https://aspnetcore.blob.core.windows.net/buildtools" -} -``` -#> -[CmdletBinding(PositionalBinding = $false)] -param( - [Parameter(Mandatory = $true, Position = 0)] - [string]$Command, - [string]$Path = $PSScriptRoot, - [Alias('c')] - [string]$Channel, - [Alias('d')] - [string]$DotNetHome, - [Alias('s')] - [string]$ToolsSource, - [Alias('u')] - [switch]$Update, - [string]$ConfigFile, - [string]$ToolsSourceSuffix, - [Parameter(ValueFromRemainingArguments = $true)] - [string[]]$Arguments -) - -Set-StrictMode -Version 2 -$ErrorActionPreference = 'Stop' - -# -# Functions -# - -function Get-KoreBuild { - - $lockFile = Join-Path $Path 'korebuild-lock.txt' - - if (!(Test-Path $lockFile) -or $Update) { - Get-RemoteFile "$ToolsSource/korebuild/channels/$Channel/latest.txt" $lockFile $ToolsSourceSuffix - } - - $version = Get-Content $lockFile | Where-Object { $_ -like 'version:*' } | Select-Object -first 1 - if (!$version) { - Write-Error "Failed to parse version from $lockFile. Expected a line that begins with 'version:'" - } - $version = $version.TrimStart('version:').Trim() - $korebuildPath = Join-Paths $DotNetHome ('buildtools', 'korebuild', $version) - - if (!(Test-Path $korebuildPath)) { - Write-Host -ForegroundColor Magenta "Downloading KoreBuild $version" - New-Item -ItemType Directory -Path $korebuildPath | Out-Null - $remotePath = "$ToolsSource/korebuild/artifacts/$version/korebuild.$version.zip" - - try { - $tmpfile = Join-Path ([IO.Path]::GetTempPath()) "KoreBuild-$([guid]::NewGuid()).zip" - Get-RemoteFile $remotePath $tmpfile $ToolsSourceSuffix - if (Get-Command -Name 'Expand-Archive' -ErrorAction Ignore) { - # Use built-in commands where possible as they are cross-plat compatible - Expand-Archive -Path $tmpfile -DestinationPath $korebuildPath - } - else { - # Fallback to old approach for old installations of PowerShell - Add-Type -AssemblyName System.IO.Compression.FileSystem - [System.IO.Compression.ZipFile]::ExtractToDirectory($tmpfile, $korebuildPath) - } - } - catch { - Remove-Item -Recurse -Force $korebuildPath -ErrorAction Ignore - throw - } - finally { - Remove-Item $tmpfile -ErrorAction Ignore - } - } - - return $korebuildPath -} - -function Join-Paths([string]$path, [string[]]$childPaths) { - $childPaths | ForEach-Object { $path = Join-Path $path $_ } - return $path -} - -function Get-RemoteFile([string]$RemotePath, [string]$LocalPath, [string]$RemoteSuffix) { - if ($RemotePath -notlike 'http*') { - Copy-Item $RemotePath $LocalPath - return - } - - $retries = 10 - while ($retries -gt 0) { - $retries -= 1 - try { - Invoke-WebRequest -UseBasicParsing -Uri $($RemotePath + $RemoteSuffix) -OutFile $LocalPath - return - } - catch { - Write-Verbose "Request failed. $retries retries remaining" - } - } - - Write-Error "Download failed: '$RemotePath'." -} - -# -# Main -# - -# Load configuration or set defaults - -$Path = Resolve-Path $Path -if (!$ConfigFile) { $ConfigFile = Join-Path $Path 'korebuild.json' } - -if (Test-Path $ConfigFile) { - try { - $config = Get-Content -Raw -Encoding UTF8 -Path $ConfigFile | ConvertFrom-Json - if ($config) { - if (!($Channel) -and (Get-Member -Name 'channel' -InputObject $config)) { [string] $Channel = $config.channel } - if (!($ToolsSource) -and (Get-Member -Name 'toolsSource' -InputObject $config)) { [string] $ToolsSource = $config.toolsSource} - } - } - catch { - Write-Warning "$ConfigFile could not be read. Its settings will be ignored." - Write-Warning $Error[0] - } -} - -if (!$DotNetHome) { - $DotNetHome = if ($env:DOTNET_HOME) { $env:DOTNET_HOME } ` - elseif ($env:USERPROFILE) { Join-Path $env:USERPROFILE '.dotnet'} ` - elseif ($env:HOME) {Join-Path $env:HOME '.dotnet'}` - else { Join-Path $PSScriptRoot '.dotnet'} -} - -if (!$Channel) { $Channel = 'dev' } -if (!$ToolsSource) { $ToolsSource = 'https://aspnetcore.blob.core.windows.net/buildtools' } - -# Execute - -$korebuildPath = Get-KoreBuild -Import-Module -Force -Scope Local (Join-Path $korebuildPath 'KoreBuild.psd1') - -try { - Set-KoreBuildSettings -ToolsSource $ToolsSource -DotNetHome $DotNetHome -RepoPath $Path -ConfigFile $ConfigFile - Invoke-KoreBuildCommand $Command @Arguments -} -finally { - Remove-Module 'KoreBuild' -ErrorAction Ignore -} diff --git a/run.sh b/run.sh deleted file mode 100755 index 834961fc3a..0000000000 --- a/run.sh +++ /dev/null @@ -1,231 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -# -# variables -# - -RESET="\033[0m" -RED="\033[0;31m" -YELLOW="\033[0;33m" -MAGENTA="\033[0;95m" -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -[ -z "${DOTNET_HOME:-}" ] && DOTNET_HOME="$HOME/.dotnet" -verbose=false -update=false -repo_path="$DIR" -channel='' -tools_source='' -tools_source_suffix='' - -# -# Functions -# -__usage() { - echo "Usage: $(basename "${BASH_SOURCE[0]}") command [options] [[--] ...]" - echo "" - echo "Arguments:" - echo " command The command to be run." - echo " ... Arguments passed to the command. Variable number of arguments allowed." - echo "" - echo "Options:" - echo " --verbose Show verbose output." - echo " -c|--channel The channel of KoreBuild to download. Overrides the value from the config file.." - echo " --config-file The path to the configuration file that stores values. Defaults to korebuild.json." - echo " -d|--dotnet-home The directory where .NET Core tools will be stored. Defaults to '\$DOTNET_HOME' or '\$HOME/.dotnet." - echo " --path The directory to build. Defaults to the directory containing the script." - echo " -s|--tools-source|-ToolsSource The base url where build tools can be downloaded. Overrides the value from the config file." - echo " --tools-source-suffix|-ToolsSourceSuffix The suffix to append to tools-source. Useful for query strings." - echo " -u|--update Update to the latest KoreBuild even if the lock file is present." - echo "" - echo "Description:" - echo " This function will create a file \$DIR/korebuild-lock.txt. This lock file can be committed to source, but does not have to be." - echo " When the lockfile is not present, KoreBuild will create one using latest available version from \$channel." - - if [[ "${1:-}" != '--no-exit' ]]; then - exit 2 - fi -} - -get_korebuild() { - local version - local lock_file="$repo_path/korebuild-lock.txt" - if [ ! -f "$lock_file" ] || [ "$update" = true ]; then - __get_remote_file "$tools_source/korebuild/channels/$channel/latest.txt" "$lock_file" "$tools_source_suffix" - fi - version="$(grep 'version:*' -m 1 "$lock_file")" - if [[ "$version" == '' ]]; then - __error "Failed to parse version from $lock_file. Expected a line that begins with 'version:'" - return 1 - fi - version="$(echo "${version#version:}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" - local korebuild_path="$DOTNET_HOME/buildtools/korebuild/$version" - - { - if [ ! -d "$korebuild_path" ]; then - mkdir -p "$korebuild_path" - local remote_path="$tools_source/korebuild/artifacts/$version/korebuild.$version.zip" - tmpfile="$(mktemp)" - echo -e "${MAGENTA}Downloading KoreBuild ${version}${RESET}" - if __get_remote_file "$remote_path" "$tmpfile" "$tools_source_suffix"; then - unzip -q -d "$korebuild_path" "$tmpfile" - fi - rm "$tmpfile" || true - fi - - source "$korebuild_path/KoreBuild.sh" - } || { - if [ -d "$korebuild_path" ]; then - echo "Cleaning up after failed installation" - rm -rf "$korebuild_path" || true - fi - return 1 - } -} - -__error() { - echo -e "${RED}error: $*${RESET}" 1>&2 -} - -__warn() { - echo -e "${YELLOW}warning: $*${RESET}" -} - -__machine_has() { - hash "$1" > /dev/null 2>&1 - return $? -} - -__get_remote_file() { - local remote_path=$1 - local local_path=$2 - local remote_path_suffix=$3 - - if [[ "$remote_path" != 'http'* ]]; then - cp "$remote_path" "$local_path" - return 0 - fi - - local failed=false - if __machine_has wget; then - wget --tries 10 --quiet -O "$local_path" "${remote_path}${remote_path_suffix}" || failed=true - else - failed=true - fi - - if [ "$failed" = true ] && __machine_has curl; then - failed=false - curl --retry 10 -sSL -f --create-dirs -o "$local_path" "${remote_path}${remote_path_suffix}" || failed=true - fi - - if [ "$failed" = true ]; then - __error "Download failed: $remote_path" 1>&2 - return 1 - fi -} - -# -# main -# - -command="${1:-}" -shift - -while [[ $# -gt 0 ]]; do - case $1 in - -\?|-h|--help) - __usage --no-exit - exit 0 - ;; - -c|--channel|-Channel) - shift - channel="${1:-}" - [ -z "$channel" ] && __usage - ;; - --config-file|-ConfigFile) - shift - config_file="${1:-}" - [ -z "$config_file" ] && __usage - if [ ! -f "$config_file" ]; then - __error "Invalid value for --config-file. $config_file does not exist." - exit 1 - fi - ;; - -d|--dotnet-home|-DotNetHome) - shift - DOTNET_HOME="${1:-}" - [ -z "$DOTNET_HOME" ] && __usage - ;; - --path|-Path) - shift - repo_path="${1:-}" - [ -z "$repo_path" ] && __usage - ;; - -s|--tools-source|-ToolsSource) - shift - tools_source="${1:-}" - [ -z "$tools_source" ] && __usage - ;; - --tools-source-suffix|-ToolsSourceSuffix) - shift - tools_source_suffix="${1:-}" - [ -z "$tools_source_suffix" ] && __usage - ;; - -u|--update|-Update) - update=true - ;; - --verbose|-Verbose) - verbose=true - ;; - --) - shift - break - ;; - *) - break - ;; - esac - shift -done - -if ! __machine_has unzip; then - __error 'Missing required command: unzip' - exit 1 -fi - -if ! __machine_has curl && ! __machine_has wget; then - __error 'Missing required command. Either wget or curl is required.' - exit 1 -fi - -[ -z "${config_file:-}" ] && config_file="$repo_path/korebuild.json" -if [ -f "$config_file" ]; then - if __machine_has jq ; then - if jq '.' "$config_file" >/dev/null ; then - config_channel="$(jq -r 'select(.channel!=null) | .channel' "$config_file")" - config_tools_source="$(jq -r 'select(.toolsSource!=null) | .toolsSource' "$config_file")" - else - __warn "$config_file is invalid JSON. Its settings will be ignored." - fi - elif __machine_has python ; then - if python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'))" >/dev/null ; then - config_channel="$(python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['channel'] if 'channel' in obj else '')")" - config_tools_source="$(python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['toolsSource'] if 'toolsSource' in obj else '')")" - else - __warn "$config_file is invalid JSON. Its settings will be ignored." - fi - else - __warn 'Missing required command: jq or pyton. Could not parse the JSON file. Its settings will be ignored.' - fi - - [ ! -z "${config_channel:-}" ] && channel="$config_channel" - [ ! -z "${config_tools_source:-}" ] && tools_source="$config_tools_source" -fi - -[ -z "$channel" ] && channel='dev' -[ -z "$tools_source" ] && tools_source='https://aspnetcore.blob.core.windows.net/buildtools' - -get_korebuild -set_korebuildsettings "$tools_source" "$DOTNET_HOME" "$repo_path" "$config_file" -invoke_korebuild_command "$command" "$@" diff --git a/.gitignore b/src/MvcPrecompilation/.gitignore similarity index 100% rename from .gitignore rename to src/MvcPrecompilation/.gitignore diff --git a/Directory.Build.props b/src/MvcPrecompilation/Directory.Build.props similarity index 100% rename from Directory.Build.props rename to src/MvcPrecompilation/Directory.Build.props diff --git a/Directory.Build.targets b/src/MvcPrecompilation/Directory.Build.targets similarity index 100% rename from Directory.Build.targets rename to src/MvcPrecompilation/Directory.Build.targets diff --git a/NuGetPackageVerifier.json b/src/MvcPrecompilation/NuGetPackageVerifier.json similarity index 100% rename from NuGetPackageVerifier.json rename to src/MvcPrecompilation/NuGetPackageVerifier.json diff --git a/README.md b/src/MvcPrecompilation/README.md similarity index 100% rename from README.md rename to src/MvcPrecompilation/README.md diff --git a/RazorViewCompilation.sln b/src/MvcPrecompilation/RazorViewCompilation.sln similarity index 100% rename from RazorViewCompilation.sln rename to src/MvcPrecompilation/RazorViewCompilation.sln diff --git a/build/Key.snk b/src/MvcPrecompilation/build/Key.snk similarity index 100% rename from build/Key.snk rename to src/MvcPrecompilation/build/Key.snk diff --git a/build/dependencies.props b/src/MvcPrecompilation/build/dependencies.props similarity index 100% rename from build/dependencies.props rename to src/MvcPrecompilation/build/dependencies.props diff --git a/build/repo.props b/src/MvcPrecompilation/build/repo.props similarity index 100% rename from build/repo.props rename to src/MvcPrecompilation/build/repo.props diff --git a/build/sources.props b/src/MvcPrecompilation/build/sources.props similarity index 100% rename from build/sources.props rename to src/MvcPrecompilation/build/sources.props diff --git a/src/Directory.Build.props b/src/MvcPrecompilation/src/Directory.Build.props similarity index 100% rename from src/Directory.Build.props rename to src/MvcPrecompilation/src/Directory.Build.props diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ diff --git a/test/Directory.Build.props b/src/MvcPrecompilation/test/Directory.Build.props similarity index 100% rename from test/Directory.Build.props rename to src/MvcPrecompilation/test/Directory.Build.props diff --git a/test/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs b/src/MvcPrecompilation/test/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs similarity index 100% rename from test/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs rename to src/MvcPrecompilation/test/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs diff --git a/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs b/src/MvcPrecompilation/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs similarity index 100% rename from test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs rename to src/MvcPrecompilation/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs diff --git a/test/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs b/src/MvcPrecompilation/test/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs similarity index 100% rename from test/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs rename to src/MvcPrecompilation/test/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs diff --git a/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs b/src/MvcPrecompilation/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs similarity index 100% rename from test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs rename to src/MvcPrecompilation/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs diff --git a/test/FunctionalTests/FunctionalTests.csproj b/src/MvcPrecompilation/test/FunctionalTests/FunctionalTests.csproj similarity index 100% rename from test/FunctionalTests/FunctionalTests.csproj rename to src/MvcPrecompilation/test/FunctionalTests/FunctionalTests.csproj diff --git a/test/FunctionalTests/Infrastructure/ApplicationPaths.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/ApplicationPaths.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/ApplicationPaths.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/ApplicationPaths.cs diff --git a/test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs diff --git a/test/FunctionalTests/Infrastructure/HttpClientExtensions.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/HttpClientExtensions.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/HttpClientExtensions.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/HttpClientExtensions.cs diff --git a/test/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs diff --git a/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs diff --git a/test/FunctionalTests/Properties/AssemblyInfo.cs b/src/MvcPrecompilation/test/FunctionalTests/Properties/AssemblyInfo.cs similarity index 100% rename from test/FunctionalTests/Properties/AssemblyInfo.cs rename to src/MvcPrecompilation/test/FunctionalTests/Properties/AssemblyInfo.cs diff --git a/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt b/src/MvcPrecompilation/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt similarity index 100% rename from test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt rename to src/MvcPrecompilation/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj b/src/MvcPrecompilation/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj similarity index 100% rename from test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj rename to src/MvcPrecompilation/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs b/src/MvcPrecompilation/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs similarity index 100% rename from test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs rename to src/MvcPrecompilation/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs diff --git a/testapps/ApplicationUsingRelativePaths/ApplicationUsingRelativePaths.csproj b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/ApplicationUsingRelativePaths.csproj similarity index 100% rename from testapps/ApplicationUsingRelativePaths/ApplicationUsingRelativePaths.csproj rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/ApplicationUsingRelativePaths.csproj diff --git a/testapps/ApplicationUsingRelativePaths/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationUsingRelativePaths/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Controllers/HomeController.cs diff --git a/testapps/ApplicationUsingRelativePaths/Program.cs b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Program.cs similarity index 100% rename from testapps/ApplicationUsingRelativePaths/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Program.cs diff --git a/testapps/ApplicationUsingRelativePaths/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Startup.cs similarity index 100% rename from testapps/ApplicationUsingRelativePaths/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Startup.cs diff --git a/testapps/ApplicationUsingRelativePaths/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationUsingRelativePaths/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/Home/About.cshtml diff --git a/testapps/ApplicationUsingRelativePaths/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationUsingRelativePaths/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/Home/Index.cshtml diff --git a/testapps/ApplicationUsingRelativePaths/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationUsingRelativePaths/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationUsingRelativePaths/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationUsingRelativePaths/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationUsingRelativePaths/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationUsingRelativePaths/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationUsingRelativePaths/Views/_ViewStart.cshtml diff --git a/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj similarity index 100% rename from testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj diff --git a/testapps/ApplicationWithConfigureMvc/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithConfigureMvc/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Program.cs similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Program.cs diff --git a/testapps/ApplicationWithConfigureMvc/RazorRewriter.cs b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/RazorRewriter.cs similarity index 100% rename from testapps/ApplicationWithConfigureMvc/RazorRewriter.cs rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/RazorRewriter.cs diff --git a/testapps/ApplicationWithConfigureMvc/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Startup.cs similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Startup.cs diff --git a/testapps/ApplicationWithConfigureMvc/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml diff --git a/testapps/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj diff --git a/testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithCustomInputFiles/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Program.cs similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Program.cs diff --git a/testapps/ApplicationWithCustomInputFiles/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Startup.cs similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Startup.cs diff --git a/testapps/ApplicationWithCustomInputFiles/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml diff --git a/testapps/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj similarity index 100% rename from testapps/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj diff --git a/testapps/ApplicationWithParseErrors/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Program.cs similarity index 100% rename from testapps/ApplicationWithParseErrors/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Program.cs diff --git a/testapps/ApplicationWithParseErrors/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Startup.cs similarity index 100% rename from testapps/ApplicationWithParseErrors/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Startup.cs diff --git a/testapps/ApplicationWithParseErrors/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithParseErrors/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithParseErrors/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithParseErrors/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Program.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Program.cs diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Program.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Program.cs diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj diff --git a/testapps/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithRazorSdkUsed/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Program.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Program.cs diff --git a/testapps/ApplicationWithRazorSdkUsed/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Startup.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Startup.cs diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml diff --git a/testapps/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj similarity index 100% rename from testapps/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj diff --git a/testapps/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs diff --git a/testapps/ApplicationWithTagHelpers/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithTagHelpers/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Program.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Program.cs diff --git a/testapps/ApplicationWithTagHelpers/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Startup.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Startup.cs diff --git a/testapps/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs diff --git a/testapps/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/_ViewStart.cshtml diff --git a/testapps/ClassLibraryTagHelper/BoldTagHelper.cs b/src/MvcPrecompilation/testapps/ClassLibraryTagHelper/BoldTagHelper.cs similarity index 100% rename from testapps/ClassLibraryTagHelper/BoldTagHelper.cs rename to src/MvcPrecompilation/testapps/ClassLibraryTagHelper/BoldTagHelper.cs diff --git a/testapps/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj b/src/MvcPrecompilation/testapps/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj similarity index 100% rename from testapps/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj rename to src/MvcPrecompilation/testapps/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj diff --git a/testapps/Directory.Build.props b/src/MvcPrecompilation/testapps/Directory.Build.props similarity index 100% rename from testapps/Directory.Build.props rename to src/MvcPrecompilation/testapps/Directory.Build.props diff --git a/testapps/Directory.Build.targets b/src/MvcPrecompilation/testapps/Directory.Build.targets similarity index 100% rename from testapps/Directory.Build.targets rename to src/MvcPrecompilation/testapps/Directory.Build.targets diff --git a/testapps/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml similarity index 100% rename from testapps/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml diff --git a/testapps/PublishWithEmbedViewSources/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Controllers/HomeController.cs similarity index 100% rename from testapps/PublishWithEmbedViewSources/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Controllers/HomeController.cs diff --git a/testapps/PublishWithEmbedViewSources/Program.cs b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Program.cs similarity index 100% rename from testapps/PublishWithEmbedViewSources/Program.cs rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Program.cs diff --git a/testapps/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj similarity index 100% rename from testapps/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj diff --git a/testapps/PublishWithEmbedViewSources/Startup.cs b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Startup.cs similarity index 100% rename from testapps/PublishWithEmbedViewSources/Startup.cs rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Startup.cs diff --git a/testapps/PublishWithEmbedViewSources/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Views/Home/About.cshtml similarity index 100% rename from testapps/PublishWithEmbedViewSources/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Views/Home/About.cshtml diff --git a/testapps/PublishWithEmbedViewSources/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Views/Home/Index.cshtml similarity index 100% rename from testapps/PublishWithEmbedViewSources/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Views/Home/Index.cshtml diff --git a/testapps/RazorPagesApp/Pages/Auth/Index.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Auth/Index.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Auth/Index.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Auth/Index.cshtml diff --git a/testapps/RazorPagesApp/Pages/Index.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Index.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Index.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Index.cshtml diff --git a/testapps/RazorPagesApp/Pages/Login.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Login.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Login.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Login.cshtml diff --git a/testapps/RazorPagesApp/Pages/MyPageModel.cs b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/MyPageModel.cs similarity index 100% rename from testapps/RazorPagesApp/Pages/MyPageModel.cs rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/MyPageModel.cs diff --git a/testapps/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml diff --git a/testapps/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml diff --git a/testapps/RazorPagesApp/Pages/PageWithModel.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/PageWithModel.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/PageWithModel.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/PageWithModel.cshtml diff --git a/testapps/RazorPagesApp/Pages/PageWithRoute.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/PageWithRoute.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/PageWithRoute.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/PageWithRoute.cshtml diff --git a/testapps/RazorPagesApp/Pages/_PageStart.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/_PageStart.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/_PageStart.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/_PageStart.cshtml diff --git a/testapps/RazorPagesApp/Pages/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/_ViewImports.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/_ViewImports.cshtml diff --git a/testapps/RazorPagesApp/Program.cs b/src/MvcPrecompilation/testapps/RazorPagesApp/Program.cs similarity index 100% rename from testapps/RazorPagesApp/Program.cs rename to src/MvcPrecompilation/testapps/RazorPagesApp/Program.cs diff --git a/testapps/RazorPagesApp/RazorPagesApp.csproj b/src/MvcPrecompilation/testapps/RazorPagesApp/RazorPagesApp.csproj similarity index 100% rename from testapps/RazorPagesApp/RazorPagesApp.csproj rename to src/MvcPrecompilation/testapps/RazorPagesApp/RazorPagesApp.csproj diff --git a/testapps/RazorPagesApp/Startup.cs b/src/MvcPrecompilation/testapps/RazorPagesApp/Startup.cs similarity index 100% rename from testapps/RazorPagesApp/Startup.cs rename to src/MvcPrecompilation/testapps/RazorPagesApp/Startup.cs diff --git a/testapps/RazorPagesApp/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/RazorPagesApp/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Views/Shared/_Layout.cshtml diff --git a/testapps/SimpleApp/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/SimpleApp/Controllers/HomeController.cs similarity index 100% rename from testapps/SimpleApp/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/SimpleApp/Controllers/HomeController.cs diff --git a/testapps/SimpleApp/Program.cs b/src/MvcPrecompilation/testapps/SimpleApp/Program.cs similarity index 100% rename from testapps/SimpleApp/Program.cs rename to src/MvcPrecompilation/testapps/SimpleApp/Program.cs diff --git a/testapps/SimpleApp/SimpleApp.csproj b/src/MvcPrecompilation/testapps/SimpleApp/SimpleApp.csproj similarity index 100% rename from testapps/SimpleApp/SimpleApp.csproj rename to src/MvcPrecompilation/testapps/SimpleApp/SimpleApp.csproj diff --git a/testapps/SimpleApp/Startup.cs b/src/MvcPrecompilation/testapps/SimpleApp/Startup.cs similarity index 100% rename from testapps/SimpleApp/Startup.cs rename to src/MvcPrecompilation/testapps/SimpleApp/Startup.cs diff --git a/testapps/SimpleApp/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/Home/About.cshtml similarity index 100% rename from testapps/SimpleApp/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/Home/About.cshtml diff --git a/testapps/SimpleApp/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/Home/Index.cshtml similarity index 100% rename from testapps/SimpleApp/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/Home/Index.cshtml diff --git a/testapps/SimpleApp/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/SimpleApp/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/Shared/_Layout.cshtml diff --git a/testapps/SimpleApp/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/_ViewImports.cshtml similarity index 100% rename from testapps/SimpleApp/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/_ViewImports.cshtml diff --git a/testapps/SimpleApp/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/_ViewStart.cshtml similarity index 100% rename from testapps/SimpleApp/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/_ViewStart.cshtml diff --git a/testapps/SimpleAppWithAssemblyRename/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Controllers/HomeController.cs similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Controllers/HomeController.cs diff --git a/testapps/SimpleAppWithAssemblyRename/Program.cs b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Program.cs similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Program.cs rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Program.cs diff --git a/testapps/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj diff --git a/testapps/SimpleAppWithAssemblyRename/Startup.cs b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Startup.cs similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Startup.cs rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Startup.cs diff --git a/testapps/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml diff --git a/testapps/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml diff --git a/testapps/StrongNamedApp/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/StrongNamedApp/Controllers/HomeController.cs similarity index 100% rename from testapps/StrongNamedApp/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/StrongNamedApp/Controllers/HomeController.cs diff --git a/testapps/StrongNamedApp/Program.cs b/src/MvcPrecompilation/testapps/StrongNamedApp/Program.cs similarity index 100% rename from testapps/StrongNamedApp/Program.cs rename to src/MvcPrecompilation/testapps/StrongNamedApp/Program.cs diff --git a/testapps/StrongNamedApp/Startup.cs b/src/MvcPrecompilation/testapps/StrongNamedApp/Startup.cs similarity index 100% rename from testapps/StrongNamedApp/Startup.cs rename to src/MvcPrecompilation/testapps/StrongNamedApp/Startup.cs diff --git a/testapps/StrongNamedApp/StrongNamedApp.csproj b/src/MvcPrecompilation/testapps/StrongNamedApp/StrongNamedApp.csproj similarity index 100% rename from testapps/StrongNamedApp/StrongNamedApp.csproj rename to src/MvcPrecompilation/testapps/StrongNamedApp/StrongNamedApp.csproj diff --git a/testapps/StrongNamedApp/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/StrongNamedApp/Views/Home/Index.cshtml similarity index 100% rename from testapps/StrongNamedApp/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/StrongNamedApp/Views/Home/Index.cshtml diff --git a/version.props b/src/MvcPrecompilation/version.props similarity index 100% rename from version.props rename to src/MvcPrecompilation/version.props From 589db8b413f48c225234dca4b36bebe813423b23 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 27 Nov 2018 12:12:19 -0800 Subject: [PATCH 6/6] Reorganize source code in preparation to move into aspnet/AspNetCore Prior to reorganization, this source code was found in https://github.com/aspnet/MvcPrecompilation/tree/032768b063a768559c8dfaea0d06380da77307ae --- .appveyor.yml | 17 -- .gitattributes | 52 ---- .github/ISSUE_TEMPALTE.md | 1 - .github/PULL_REQUEST_TEMPLATE.md | 1 - .travis.yml | 27 -- .vsts-pipelines/builds/ci-internal.yml | 13 - .vsts-pipelines/builds/ci-public.yml | 15 - CONTRIBUTING.md | 4 - LICENSE.txt | 14 - NuGet.config | 7 - build.cmd | 2 - build.sh | 8 - korebuild-lock.txt | 2 - korebuild.json | 4 - run.cmd | 2 - run.ps1 | 209 -------------- run.sh | 256 ------------------ .../MvcPrecompilation/.gitignore | 0 .../MvcPrecompilation/Directory.Build.props | 0 .../MvcPrecompilation/Directory.Build.targets | 0 .../NuGetPackageVerifier.json | 0 README.md => src/MvcPrecompilation/README.md | 0 .../RazorViewCompilation.sln | 0 .../MvcPrecompilation/build}/Key.snk | Bin .../build}/dependencies.props | 0 .../MvcPrecompilation/build}/repo.props | 0 .../MvcPrecompilation/build}/sources.props | 0 .../src}/Directory.Build.props | 0 .../GetDotNetHost.cs | 0 ...ore.Mvc.Razor.ViewCompilation.Tasks.csproj | 0 .../Internal/AssemblyMetadataGenerator.cs | 0 .../Internal/CompilationOptions.cs | 0 .../Internal/DebugHelper.cs | 0 .../Internal/MvcServiceProvider.cs | 0 .../Internal/PrecompilationApplication.cs | 0 .../Internal/PrecompileRunCommand.cs | 0 .../Internal/SnkUtils.cs | 0 .../Internal/ViewCompilationInfo.cs | 0 .../Internal/ViewFileInfo.cs | 0 ...spNetCore.Mvc.Razor.ViewCompilation.csproj | 0 ...spNetCore.Mvc.Razor.ViewCompilation.nuspec | 0 .../Program.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../baseline.netcore.json | 0 ...pNetCore.Mvc.Razor.ViewCompilation.targets | 0 .../lib/net461/_._ | 0 .../lib/netcoreapp2.0/_._ | 0 .../test}/Directory.Build.props | 0 .../CoreCLRApplicationTestFixture.cs | 0 .../CoreCLRTests/SimpleAppTest_CoreCLR.cs | 0 .../DesktopApplicationTestFixture.cs | 0 .../DesktopTests/SimpleAppTest_Desktop.cs | 0 .../FunctionalTests/FunctionalTests.csproj | 0 .../Infrastructure/ApplicationPaths.cs | 0 .../Infrastructure/ApplicationTestFixture.cs | 0 .../Infrastructure/HttpClientExtensions.cs | 0 .../Infrastructure/PublishOnlyDeployer.cs | 0 .../Infrastructure/TestEmbeddedResource.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../Resources/SimpleAppTest.Home.Index.txt | 0 ...Core.Mvc.Razor.ViewCompilation.Test.csproj | 0 .../PrecompileRunCommandTest.cs | 0 .../ApplicationWithConfigureMvc.csproj | 0 .../Controllers/HomeController.cs | 0 .../ApplicationWithConfigureMvc/Program.cs | 0 .../RazorRewriter.cs | 0 .../ApplicationWithConfigureMvc/Startup.cs | 0 .../Views/Home/Index.cshtml | 0 .../Views/Home/ViewWithPreprocessor.cshtml | 0 .../ApplicationWithCustomInputFiles.csproj | 0 .../Controllers/HomeController.cs | 0 .../Program.cs | 0 .../Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Home/NotIncluded.cshtml | 0 .../ApplicationWithParseErrors.csproj | 0 .../ApplicationWithParseErrors/Program.cs | 0 .../ApplicationWithParseErrors/Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../ApplicationWithRazorSdkNeitherUsed.csproj | 0 .../Controllers/HomeController.cs | 0 .../Program.cs | 0 .../Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 ...ationWithRazorSdkPrecompilationUsed.csproj | 0 .../Controllers/HomeController.cs | 0 .../Program.cs | 0 .../Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 .../ApplicationWithRazorSdkUsed.csproj | 0 .../Controllers/HomeController.cs | 0 .../ApplicationWithRazorSdkUsed/Program.cs | 0 .../ApplicationWithRazorSdkUsed/Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 .../ApplicationWithTagHelpers.csproj | 0 .../Components/CopyrightViewComponent.cs | 0 .../Controllers/HomeController.cs | 0 .../ApplicationWithTagHelpers/Program.cs | 0 .../ApplicationWithTagHelpers/Startup.cs | 0 .../TagHelpers/TestTagHelper.cs | 0 .../Views/Home/ClassLibraryTagHelper.cshtml | 0 .../Views/Home/LocalTagHelper.cshtml | 0 .../Components/Copyright/Default.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Views/_ViewStart.cshtml | 0 .../ClassLibraryTagHelper/BoldTagHelper.cs | 0 .../ClassLibraryTagHelper.csproj | 0 .../testapps}/Directory.Build.props | 0 .../testapps}/Directory.Build.targets | 0 .../Areas/TestArea/Views/Home/Index.cshtml | 0 .../Controllers/HomeController.cs | 0 .../PublishWithEmbedViewSources/Program.cs | 0 .../PublishWithEmbedViewSources.csproj | 0 .../PublishWithEmbedViewSources/Startup.cs | 0 .../Views/Home/About.cshtml | 0 .../Views/Home/Index.cshtml | 0 .../RazorPagesApp/Pages/Auth/Index.cshtml | 0 .../RazorPagesApp/Pages/Index.cshtml | 0 .../RazorPagesApp/Pages/Login.cshtml | 0 .../RazorPagesApp/Pages/MyPageModel.cs | 0 .../Nested1/Nested2/PageWithTagHelper.cshtml | 0 .../Pages/Nested1/_ViewImports.cshtml | 0 .../RazorPagesApp/Pages/PageWithModel.cshtml | 0 .../RazorPagesApp/Pages/PageWithRoute.cshtml | 0 .../RazorPagesApp/Pages/_PageStart.cshtml | 0 .../RazorPagesApp/Pages/_ViewImports.cshtml | 0 .../testapps}/RazorPagesApp/Program.cs | 0 .../RazorPagesApp/RazorPagesApp.csproj | 0 .../testapps}/RazorPagesApp/Startup.cs | 0 .../RazorPagesApp/Views/Shared/_Layout.cshtml | 0 .../SimpleApp/Controllers/HomeController.cs | 0 .../testapps}/SimpleApp/Program.cs | 0 .../testapps}/SimpleApp/SimpleApp.csproj | 0 .../testapps}/SimpleApp/Startup.cs | 0 .../SimpleApp/Views/Home/About.cshtml | 0 .../SimpleApp/Views/Home/Index.cshtml | 0 .../SimpleApp/Views/Shared/_Layout.cshtml | 0 .../SimpleApp/Views/_ViewImports.cshtml | 0 .../SimpleApp/Views/_ViewStart.cshtml | 0 .../Controllers/HomeController.cs | 0 .../SimpleAppWithAssemblyRename/Program.cs | 0 .../SimpleAppWithAssemblyRename.csproj | 0 .../SimpleAppWithAssemblyRename/Startup.cs | 0 .../Views/Home/Index.cshtml | 0 .../Views/_ViewImports.cshtml | 0 .../Controllers/HomeController.cs | 0 .../testapps}/StrongNamedApp/Program.cs | 0 .../testapps}/StrongNamedApp/Startup.cs | 0 .../StrongNamedApp/StrongNamedApp.csproj | 0 .../StrongNamedApp/Views/Home/Index.cshtml | 0 .../MvcPrecompilation/version.props | 0 166 files changed, 634 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .gitattributes delete mode 100644 .github/ISSUE_TEMPALTE.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md delete mode 100644 .travis.yml delete mode 100644 .vsts-pipelines/builds/ci-internal.yml delete mode 100644 .vsts-pipelines/builds/ci-public.yml delete mode 100644 CONTRIBUTING.md delete mode 100644 LICENSE.txt delete mode 100644 NuGet.config delete mode 100644 build.cmd delete mode 100755 build.sh delete mode 100644 korebuild-lock.txt delete mode 100644 korebuild.json delete mode 100644 run.cmd delete mode 100644 run.ps1 delete mode 100755 run.sh rename .gitignore => src/MvcPrecompilation/.gitignore (100%) rename Directory.Build.props => src/MvcPrecompilation/Directory.Build.props (100%) rename Directory.Build.targets => src/MvcPrecompilation/Directory.Build.targets (100%) rename NuGetPackageVerifier.json => src/MvcPrecompilation/NuGetPackageVerifier.json (100%) rename README.md => src/MvcPrecompilation/README.md (100%) rename RazorViewCompilation.sln => src/MvcPrecompilation/RazorViewCompilation.sln (100%) rename {build => src/MvcPrecompilation/build}/Key.snk (100%) rename {build => src/MvcPrecompilation/build}/dependencies.props (100%) rename {build => src/MvcPrecompilation/build}/repo.props (100%) rename {build => src/MvcPrecompilation/build}/sources.props (100%) rename src/{ => MvcPrecompilation/src}/Directory.Build.props (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ (100%) rename src/{ => MvcPrecompilation/src}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ (100%) rename {test => src/MvcPrecompilation/test}/Directory.Build.props (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/FunctionalTests.csproj (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/ApplicationPaths.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/ApplicationTestFixture.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/HttpClientExtensions.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Infrastructure/TestEmbeddedResource.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Properties/AssemblyInfo.cs (100%) rename {test => src/MvcPrecompilation/test}/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt (100%) rename {test => src/MvcPrecompilation/test}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj (100%) rename {test => src/MvcPrecompilation/test}/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/RazorRewriter.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithParseErrors/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ApplicationWithTagHelpers/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/ClassLibraryTagHelper/BoldTagHelper.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/Directory.Build.props (100%) rename {testapps => src/MvcPrecompilation/testapps}/Directory.Build.targets (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/PublishWithEmbedViewSources/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Auth/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Login.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/MyPageModel.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/PageWithModel.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/PageWithRoute.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/_PageStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Pages/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/RazorPagesApp.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/RazorPagesApp/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/SimpleApp.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/Home/About.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/Shared/_Layout.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleApp/Views/_ViewStart.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/Controllers/HomeController.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/Program.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/Startup.cs (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/StrongNamedApp.csproj (100%) rename {testapps => src/MvcPrecompilation/testapps}/StrongNamedApp/Views/Home/Index.cshtml (100%) rename version.props => src/MvcPrecompilation/version.props (100%) diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 4eea96ab69..0000000000 --- a/.appveyor.yml +++ /dev/null @@ -1,17 +0,0 @@ -init: -- git config --global core.autocrlf true -branches: - only: - - dev - - /^release\/.*$/ - - /^(.*\/)?ci-.*$/ -build_script: -- ps: .\run.ps1 default-build -clone_depth: 1 -environment: - global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 -test: 'off' -deploy: 'off' -os: Visual Studio 2017 diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index d4ee1cb7f3..0000000000 --- a/.gitattributes +++ /dev/null @@ -1,52 +0,0 @@ -*.doc diff=astextplain -*.DOC diff=astextplain -*.docx diff=astextplain -*.DOCX diff=astextplain -*.dot diff=astextplain -*.DOT diff=astextplain -*.pdf diff=astextplain -*.PDF diff=astextplain -*.rtf diff=astextplain -*.RTF diff=astextplain - -*.jpg binary -*.png binary -*.gif binary - -*.cs text=auto diff=csharp -*.vb text=auto -*.resx text=auto -*.c text=auto -*.cpp text=auto -*.cxx text=auto -*.h text=auto -*.hxx text=auto -*.py text=auto -*.rb text=auto -*.java text=auto -*.html text=auto -*.htm text=auto -*.css text=auto -*.scss text=auto -*.sass text=auto -*.less text=auto -*.js text=auto -*.lisp text=auto -*.clj text=auto -*.sql text=auto -*.php text=auto -*.lua text=auto -*.m text=auto -*.asm text=auto -*.erl text=auto -*.fs text=auto -*.fsx text=auto -*.hs text=auto - -*.csproj text=auto -*.vbproj text=auto -*.fsproj text=auto -*.dbproj text=auto -*.sln text=auto eol=crlf - -*.sh eol=lf diff --git a/.github/ISSUE_TEMPALTE.md b/.github/ISSUE_TEMPALTE.md deleted file mode 100644 index 37655ead71..0000000000 --- a/.github/ISSUE_TEMPALTE.md +++ /dev/null @@ -1 +0,0 @@ -NOTE: This repo is solely for maintenance of the existing MVC precompilation feature. Future work on Razor compilation is now being handled in the [Razor](https://github.com/aspnet/razor) repo. See [aspnet/Razor#1740](https://github.com/aspnet/Razor/issues/1740) for additional details. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 37655ead71..0000000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1 +0,0 @@ -NOTE: This repo is solely for maintenance of the existing MVC precompilation feature. Future work on Razor compilation is now being handled in the [Razor](https://github.com/aspnet/razor) repo. See [aspnet/Razor#1740](https://github.com/aspnet/Razor/issues/1740) for additional details. diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 64bdbb4441..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -language: csharp -sudo: false -dist: trusty -env: - global: - - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - - DOTNET_CLI_TELEMETRY_OPTOUT: 1 -mono: none -os: -- linux -- osx -osx_image: xcode8.2 -addons: - apt: - packages: - - libunwind8 -branches: - only: - - dev - - /^release\/.*$/ - - /^(.*\/)?ci-.*$/ -before_install: -- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s - /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib - /usr/local/lib/; fi -script: -- ./build.sh diff --git a/.vsts-pipelines/builds/ci-internal.yml b/.vsts-pipelines/builds/ci-internal.yml deleted file mode 100644 index dc7b8a3cb9..0000000000 --- a/.vsts-pipelines/builds/ci-internal.yml +++ /dev/null @@ -1,13 +0,0 @@ -trigger: -- master -- release/* - -resources: - repositories: - - repository: buildtools - type: git - name: aspnet-BuildTools - ref: refs/heads/release/2.2 - -phases: -- template: .vsts-pipelines/templates/project-ci.yml@buildtools diff --git a/.vsts-pipelines/builds/ci-public.yml b/.vsts-pipelines/builds/ci-public.yml deleted file mode 100644 index f5087d9c30..0000000000 --- a/.vsts-pipelines/builds/ci-public.yml +++ /dev/null @@ -1,15 +0,0 @@ -trigger: -- master -- release/* - -# See https://github.com/aspnet/BuildTools -resources: - repositories: - - repository: buildtools - type: github - endpoint: DotNet-Bot GitHub Connection - name: aspnet/BuildTools - ref: refs/heads/release/2.2 - -phases: -- template: .vsts-pipelines/templates/project-ci.yml@buildtools diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 64ff041d5c..0000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,4 +0,0 @@ -Contributing -====== - -Information on contributing to this repo is in the [Contributing Guide](https://github.com/aspnet/Home/blob/dev/CONTRIBUTING.md) in the Home repo. diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index 7b2956ecee..0000000000 --- a/LICENSE.txt +++ /dev/null @@ -1,14 +0,0 @@ -Copyright (c) .NET Foundation and Contributors - -All rights reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed -under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the -specific language governing permissions and limitations under the License. diff --git a/NuGet.config b/NuGet.config deleted file mode 100644 index e32bddfd51..0000000000 --- a/NuGet.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/build.cmd b/build.cmd deleted file mode 100644 index c0050bda12..0000000000 --- a/build.cmd +++ /dev/null @@ -1,2 +0,0 @@ -@ECHO OFF -PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' default-build %*; exit $LASTEXITCODE" diff --git a/build.sh b/build.sh deleted file mode 100755 index 98a4b22765..0000000000 --- a/build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Call "sync" between "chmod" and execution to prevent "text file busy" error in Docker (aufs) -chmod +x "$DIR/run.sh"; sync -"$DIR/run.sh" default-build "$@" diff --git a/korebuild-lock.txt b/korebuild-lock.txt deleted file mode 100644 index 26697a21fa..0000000000 --- a/korebuild-lock.txt +++ /dev/null @@ -1,2 +0,0 @@ -version:2.2.0-preview1-20180928.5 -commithash:43faa29f679f47b88689d645b39e6be5e0055d70 diff --git a/korebuild.json b/korebuild.json deleted file mode 100644 index d217d06e3e..0000000000 --- a/korebuild.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/release/2.2/tools/korebuild.schema.json", - "channel": "release/2.2" -} diff --git a/run.cmd b/run.cmd deleted file mode 100644 index d52d5c7e68..0000000000 --- a/run.cmd +++ /dev/null @@ -1,2 +0,0 @@ -@ECHO OFF -PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' %*; exit $LASTEXITCODE" diff --git a/run.ps1 b/run.ps1 deleted file mode 100644 index 34604c7175..0000000000 --- a/run.ps1 +++ /dev/null @@ -1,209 +0,0 @@ -#!/usr/bin/env powershell -#requires -version 4 - -<# -.SYNOPSIS -Executes KoreBuild commands. - -.DESCRIPTION -Downloads korebuild if required. Then executes the KoreBuild command. To see available commands, execute with `-Command help`. - -.PARAMETER Command -The KoreBuild command to run. - -.PARAMETER Path -The folder to build. Defaults to the folder containing this script. - -.PARAMETER Channel -The channel of KoreBuild to download. Overrides the value from the config file. - -.PARAMETER DotNetHome -The directory where .NET Core tools will be stored. - -.PARAMETER ToolsSource -The base url where build tools can be downloaded. Overrides the value from the config file. - -.PARAMETER Update -Updates KoreBuild to the latest version even if a lock file is present. - -.PARAMETER Reinstall -Re-installs KoreBuild - -.PARAMETER ConfigFile -The path to the configuration file that stores values. Defaults to korebuild.json. - -.PARAMETER ToolsSourceSuffix -The Suffix to append to the end of the ToolsSource. Useful for query strings in blob stores. - -.PARAMETER CI -Sets up CI specific settings and variables. - -.PARAMETER Arguments -Arguments to be passed to the command - -.NOTES -This function will create a file $PSScriptRoot/korebuild-lock.txt. This lock file can be committed to source, but does not have to be. -When the lockfile is not present, KoreBuild will create one using latest available version from $Channel. - -The $ConfigFile is expected to be an JSON file. It is optional, and the configuration values in it are optional as well. Any options set -in the file are overridden by command line parameters. - -.EXAMPLE -Example config file: -```json -{ - "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/master/tools/korebuild.schema.json", - "channel": "master", - "toolsSource": "https://aspnetcore.blob.core.windows.net/buildtools" -} -``` -#> -[CmdletBinding(PositionalBinding = $false)] -param( - [Parameter(Mandatory = $true, Position = 0)] - [string]$Command, - [string]$Path = $PSScriptRoot, - [Alias('c')] - [string]$Channel, - [Alias('d')] - [string]$DotNetHome, - [Alias('s')] - [string]$ToolsSource, - [Alias('u')] - [switch]$Update, - [switch]$Reinstall, - [string]$ToolsSourceSuffix, - [string]$ConfigFile = $null, - [switch]$CI, - [Parameter(ValueFromRemainingArguments = $true)] - [string[]]$Arguments -) - -Set-StrictMode -Version 2 -$ErrorActionPreference = 'Stop' - -# -# Functions -# - -function Get-KoreBuild { - - $lockFile = Join-Path $Path 'korebuild-lock.txt' - - if (!(Test-Path $lockFile) -or $Update) { - Get-RemoteFile "$ToolsSource/korebuild/channels/$Channel/latest.txt" $lockFile $ToolsSourceSuffix - } - - $version = Get-Content $lockFile | Where-Object { $_ -like 'version:*' } | Select-Object -first 1 - if (!$version) { - Write-Error "Failed to parse version from $lockFile. Expected a line that begins with 'version:'" - } - $version = $version.TrimStart('version:').Trim() - $korebuildPath = Join-Paths $DotNetHome ('buildtools', 'korebuild', $version) - - if ($Reinstall -and (Test-Path $korebuildPath)) { - Remove-Item -Force -Recurse $korebuildPath - } - - if (!(Test-Path $korebuildPath)) { - Write-Host -ForegroundColor Magenta "Downloading KoreBuild $version" - New-Item -ItemType Directory -Path $korebuildPath | Out-Null - $remotePath = "$ToolsSource/korebuild/artifacts/$version/korebuild.$version.zip" - - try { - $tmpfile = Join-Path ([IO.Path]::GetTempPath()) "KoreBuild-$([guid]::NewGuid()).zip" - Get-RemoteFile $remotePath $tmpfile $ToolsSourceSuffix - if (Get-Command -Name 'Microsoft.PowerShell.Archive\Expand-Archive' -ErrorAction Ignore) { - # Use built-in commands where possible as they are cross-plat compatible - Microsoft.PowerShell.Archive\Expand-Archive -Path $tmpfile -DestinationPath $korebuildPath - } - else { - # Fallback to old approach for old installations of PowerShell - Add-Type -AssemblyName System.IO.Compression.FileSystem - [System.IO.Compression.ZipFile]::ExtractToDirectory($tmpfile, $korebuildPath) - } - } - catch { - Remove-Item -Recurse -Force $korebuildPath -ErrorAction Ignore - throw - } - finally { - Remove-Item $tmpfile -ErrorAction Ignore - } - } - - return $korebuildPath -} - -function Join-Paths([string]$path, [string[]]$childPaths) { - $childPaths | ForEach-Object { $path = Join-Path $path $_ } - return $path -} - -function Get-RemoteFile([string]$RemotePath, [string]$LocalPath, [string]$RemoteSuffix) { - if ($RemotePath -notlike 'http*') { - Copy-Item $RemotePath $LocalPath - return - } - - $retries = 10 - while ($retries -gt 0) { - $retries -= 1 - try { - Invoke-WebRequest -UseBasicParsing -Uri $($RemotePath + $RemoteSuffix) -OutFile $LocalPath - return - } - catch { - Write-Verbose "Request failed. $retries retries remaining" - } - } - - Write-Error "Download failed: '$RemotePath'." -} - -# -# Main -# - -# Load configuration or set defaults - -$Path = Resolve-Path $Path -if (!$ConfigFile) { $ConfigFile = Join-Path $Path 'korebuild.json' } - -if (Test-Path $ConfigFile) { - try { - $config = Get-Content -Raw -Encoding UTF8 -Path $ConfigFile | ConvertFrom-Json - if ($config) { - if (!($Channel) -and (Get-Member -Name 'channel' -InputObject $config)) { [string] $Channel = $config.channel } - if (!($ToolsSource) -and (Get-Member -Name 'toolsSource' -InputObject $config)) { [string] $ToolsSource = $config.toolsSource} - } - } - catch { - Write-Host -ForegroundColor Red $Error[0] - Write-Error "$ConfigFile contains invalid JSON." - exit 1 - } -} - -if (!$DotNetHome) { - $DotNetHome = if ($env:DOTNET_HOME) { $env:DOTNET_HOME } ` - elseif ($env:USERPROFILE) { Join-Path $env:USERPROFILE '.dotnet'} ` - elseif ($env:HOME) {Join-Path $env:HOME '.dotnet'}` - else { Join-Path $PSScriptRoot '.dotnet'} -} - -if (!$Channel) { $Channel = 'master' } -if (!$ToolsSource) { $ToolsSource = 'https://aspnetcore.blob.core.windows.net/buildtools' } - -# Execute - -$korebuildPath = Get-KoreBuild -Import-Module -Force -Scope Local (Join-Path $korebuildPath 'KoreBuild.psd1') - -try { - Set-KoreBuildSettings -ToolsSource $ToolsSource -DotNetHome $DotNetHome -RepoPath $Path -ConfigFile $ConfigFile -CI:$CI - Invoke-KoreBuildCommand $Command @Arguments -} -finally { - Remove-Module 'KoreBuild' -ErrorAction Ignore -} diff --git a/run.sh b/run.sh deleted file mode 100755 index 4c1fed5646..0000000000 --- a/run.sh +++ /dev/null @@ -1,256 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -# -# variables -# - -RESET="\033[0m" -RED="\033[0;31m" -YELLOW="\033[0;33m" -MAGENTA="\033[0;95m" -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -[ -z "${DOTNET_HOME:-}" ] && DOTNET_HOME="$HOME/.dotnet" -verbose=false -update=false -reinstall=false -repo_path="$DIR" -channel='' -tools_source='' -tools_source_suffix='' -ci=false - -# -# Functions -# -__usage() { - echo "Usage: $(basename "${BASH_SOURCE[0]}") command [options] [[--] ...]" - echo "" - echo "Arguments:" - echo " command The command to be run." - echo " ... Arguments passed to the command. Variable number of arguments allowed." - echo "" - echo "Options:" - echo " --verbose Show verbose output." - echo " -c|--channel The channel of KoreBuild to download. Overrides the value from the config file.." - echo " --config-file The path to the configuration file that stores values. Defaults to korebuild.json." - echo " -d|--dotnet-home The directory where .NET Core tools will be stored. Defaults to '\$DOTNET_HOME' or '\$HOME/.dotnet." - echo " --path The directory to build. Defaults to the directory containing the script." - echo " -s|--tools-source|-ToolsSource The base url where build tools can be downloaded. Overrides the value from the config file." - echo " --tools-source-suffix|-ToolsSourceSuffix The suffix to append to tools-source. Useful for query strings." - echo " -u|--update Update to the latest KoreBuild even if the lock file is present." - echo " --reinstall Reinstall KoreBuild." - echo " --ci Apply CI specific settings and environment variables." - echo "" - echo "Description:" - echo " This function will create a file \$DIR/korebuild-lock.txt. This lock file can be committed to source, but does not have to be." - echo " When the lockfile is not present, KoreBuild will create one using latest available version from \$channel." - - if [[ "${1:-}" != '--no-exit' ]]; then - exit 2 - fi -} - -get_korebuild() { - local version - local lock_file="$repo_path/korebuild-lock.txt" - if [ ! -f "$lock_file" ] || [ "$update" = true ]; then - __get_remote_file "$tools_source/korebuild/channels/$channel/latest.txt" "$lock_file" "$tools_source_suffix" - fi - version="$(grep 'version:*' -m 1 "$lock_file")" - if [[ "$version" == '' ]]; then - __error "Failed to parse version from $lock_file. Expected a line that begins with 'version:'" - return 1 - fi - version="$(echo "${version#version:}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" - local korebuild_path="$DOTNET_HOME/buildtools/korebuild/$version" - - if [ "$reinstall" = true ] && [ -d "$korebuild_path" ]; then - rm -rf "$korebuild_path" - fi - - { - if [ ! -d "$korebuild_path" ]; then - mkdir -p "$korebuild_path" - local remote_path="$tools_source/korebuild/artifacts/$version/korebuild.$version.zip" - tmpfile="$(mktemp)" - echo -e "${MAGENTA}Downloading KoreBuild ${version}${RESET}" - if __get_remote_file "$remote_path" "$tmpfile" "$tools_source_suffix"; then - unzip -q -d "$korebuild_path" "$tmpfile" - fi - rm "$tmpfile" || true - fi - - source "$korebuild_path/KoreBuild.sh" - } || { - if [ -d "$korebuild_path" ]; then - echo "Cleaning up after failed installation" - rm -rf "$korebuild_path" || true - fi - return 1 - } -} - -__error() { - echo -e "${RED}error: $*${RESET}" 1>&2 -} - -__warn() { - echo -e "${YELLOW}warning: $*${RESET}" -} - -__machine_has() { - hash "$1" > /dev/null 2>&1 - return $? -} - -__get_remote_file() { - local remote_path=$1 - local local_path=$2 - local remote_path_suffix=$3 - - if [[ "$remote_path" != 'http'* ]]; then - cp "$remote_path" "$local_path" - return 0 - fi - - local failed=false - if __machine_has wget; then - wget --tries 10 --quiet -O "$local_path" "${remote_path}${remote_path_suffix}" || failed=true - else - failed=true - fi - - if [ "$failed" = true ] && __machine_has curl; then - failed=false - curl --retry 10 -sSL -f --create-dirs -o "$local_path" "${remote_path}${remote_path_suffix}" || failed=true - fi - - if [ "$failed" = true ]; then - __error "Download failed: $remote_path" 1>&2 - return 1 - fi -} - -# -# main -# - -command="${1:-}" -shift - -while [[ $# -gt 0 ]]; do - case $1 in - -\?|-h|--help) - __usage --no-exit - exit 0 - ;; - -c|--channel|-Channel) - shift - channel="${1:-}" - [ -z "$channel" ] && __usage - ;; - --config-file|-ConfigFile) - shift - config_file="${1:-}" - [ -z "$config_file" ] && __usage - if [ ! -f "$config_file" ]; then - __error "Invalid value for --config-file. $config_file does not exist." - exit 1 - fi - ;; - -d|--dotnet-home|-DotNetHome) - shift - DOTNET_HOME="${1:-}" - [ -z "$DOTNET_HOME" ] && __usage - ;; - --path|-Path) - shift - repo_path="${1:-}" - [ -z "$repo_path" ] && __usage - ;; - -s|--tools-source|-ToolsSource) - shift - tools_source="${1:-}" - [ -z "$tools_source" ] && __usage - ;; - --tools-source-suffix|-ToolsSourceSuffix) - shift - tools_source_suffix="${1:-}" - [ -z "$tools_source_suffix" ] && __usage - ;; - -u|--update|-Update) - update=true - ;; - --reinstall|-[Rr]einstall) - reinstall=true - ;; - --ci|-[Cc][Ii]) - ci=true - ;; - --verbose|-Verbose) - verbose=true - ;; - --) - shift - break - ;; - *) - break - ;; - esac - shift -done - -if ! __machine_has unzip; then - __error 'Missing required command: unzip' - exit 1 -fi - -if ! __machine_has curl && ! __machine_has wget; then - __error 'Missing required command. Either wget or curl is required.' - exit 1 -fi - -[ -z "${config_file:-}" ] && config_file="$repo_path/korebuild.json" -if [ -f "$config_file" ]; then - if __machine_has jq ; then - if jq '.' "$config_file" >/dev/null ; then - config_channel="$(jq -r 'select(.channel!=null) | .channel' "$config_file")" - config_tools_source="$(jq -r 'select(.toolsSource!=null) | .toolsSource' "$config_file")" - else - __error "$config_file contains invalid JSON." - exit 1 - fi - elif __machine_has python ; then - if python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'))" >/dev/null ; then - config_channel="$(python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['channel'] if 'channel' in obj else '')")" - config_tools_source="$(python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['toolsSource'] if 'toolsSource' in obj else '')")" - else - __error "$config_file contains invalid JSON." - exit 1 - fi - elif __machine_has python3 ; then - if python3 -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'))" >/dev/null ; then - config_channel="$(python3 -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['channel'] if 'channel' in obj else '')")" - config_tools_source="$(python3 -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['toolsSource'] if 'toolsSource' in obj else '')")" - else - __error "$config_file contains invalid JSON." - exit 1 - fi - else - __error 'Missing required command: jq or python. Could not parse the JSON file.' - exit 1 - fi - - [ ! -z "${config_channel:-}" ] && channel="$config_channel" - [ ! -z "${config_tools_source:-}" ] && tools_source="$config_tools_source" -fi - -[ -z "$channel" ] && channel='master' -[ -z "$tools_source" ] && tools_source='https://aspnetcore.blob.core.windows.net/buildtools' - -get_korebuild -set_korebuildsettings "$tools_source" "$DOTNET_HOME" "$repo_path" "$config_file" "$ci" -invoke_korebuild_command "$command" "$@" diff --git a/.gitignore b/src/MvcPrecompilation/.gitignore similarity index 100% rename from .gitignore rename to src/MvcPrecompilation/.gitignore diff --git a/Directory.Build.props b/src/MvcPrecompilation/Directory.Build.props similarity index 100% rename from Directory.Build.props rename to src/MvcPrecompilation/Directory.Build.props diff --git a/Directory.Build.targets b/src/MvcPrecompilation/Directory.Build.targets similarity index 100% rename from Directory.Build.targets rename to src/MvcPrecompilation/Directory.Build.targets diff --git a/NuGetPackageVerifier.json b/src/MvcPrecompilation/NuGetPackageVerifier.json similarity index 100% rename from NuGetPackageVerifier.json rename to src/MvcPrecompilation/NuGetPackageVerifier.json diff --git a/README.md b/src/MvcPrecompilation/README.md similarity index 100% rename from README.md rename to src/MvcPrecompilation/README.md diff --git a/RazorViewCompilation.sln b/src/MvcPrecompilation/RazorViewCompilation.sln similarity index 100% rename from RazorViewCompilation.sln rename to src/MvcPrecompilation/RazorViewCompilation.sln diff --git a/build/Key.snk b/src/MvcPrecompilation/build/Key.snk similarity index 100% rename from build/Key.snk rename to src/MvcPrecompilation/build/Key.snk diff --git a/build/dependencies.props b/src/MvcPrecompilation/build/dependencies.props similarity index 100% rename from build/dependencies.props rename to src/MvcPrecompilation/build/dependencies.props diff --git a/build/repo.props b/src/MvcPrecompilation/build/repo.props similarity index 100% rename from build/repo.props rename to src/MvcPrecompilation/build/repo.props diff --git a/build/sources.props b/src/MvcPrecompilation/build/sources.props similarity index 100% rename from build/sources.props rename to src/MvcPrecompilation/build/sources.props diff --git a/src/Directory.Build.props b/src/MvcPrecompilation/src/Directory.Build.props similarity index 100% rename from src/Directory.Build.props rename to src/MvcPrecompilation/src/Directory.Build.props diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/GetDotNetHost.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks.csproj diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/AssemblyMetadataGenerator.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/CompilationOptions.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/DebugHelper.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/MvcServiceProvider.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompilationApplication.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/SnkUtils.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewCompilationInfo.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/ViewFileInfo.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Program.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Properties/AssemblyInfo.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/baseline.netcore.json diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.targets diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/net461/_._ diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ b/src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ similarity index 100% rename from src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ rename to src/MvcPrecompilation/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/lib/netcoreapp2.0/_._ diff --git a/test/Directory.Build.props b/src/MvcPrecompilation/test/Directory.Build.props similarity index 100% rename from test/Directory.Build.props rename to src/MvcPrecompilation/test/Directory.Build.props diff --git a/test/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs b/src/MvcPrecompilation/test/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs similarity index 100% rename from test/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs rename to src/MvcPrecompilation/test/FunctionalTests/CoreCLRTests/CoreCLRApplicationTestFixture.cs diff --git a/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs b/src/MvcPrecompilation/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs similarity index 100% rename from test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs rename to src/MvcPrecompilation/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs diff --git a/test/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs b/src/MvcPrecompilation/test/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs similarity index 100% rename from test/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs rename to src/MvcPrecompilation/test/FunctionalTests/DesktopTests/DesktopApplicationTestFixture.cs diff --git a/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs b/src/MvcPrecompilation/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs similarity index 100% rename from test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs rename to src/MvcPrecompilation/test/FunctionalTests/DesktopTests/SimpleAppTest_Desktop.cs diff --git a/test/FunctionalTests/FunctionalTests.csproj b/src/MvcPrecompilation/test/FunctionalTests/FunctionalTests.csproj similarity index 100% rename from test/FunctionalTests/FunctionalTests.csproj rename to src/MvcPrecompilation/test/FunctionalTests/FunctionalTests.csproj diff --git a/test/FunctionalTests/Infrastructure/ApplicationPaths.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/ApplicationPaths.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/ApplicationPaths.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/ApplicationPaths.cs diff --git a/test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs diff --git a/test/FunctionalTests/Infrastructure/HttpClientExtensions.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/HttpClientExtensions.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/HttpClientExtensions.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/HttpClientExtensions.cs diff --git a/test/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/PublishOnlyDeployer.cs diff --git a/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs b/src/MvcPrecompilation/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs similarity index 100% rename from test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs rename to src/MvcPrecompilation/test/FunctionalTests/Infrastructure/TestEmbeddedResource.cs diff --git a/test/FunctionalTests/Properties/AssemblyInfo.cs b/src/MvcPrecompilation/test/FunctionalTests/Properties/AssemblyInfo.cs similarity index 100% rename from test/FunctionalTests/Properties/AssemblyInfo.cs rename to src/MvcPrecompilation/test/FunctionalTests/Properties/AssemblyInfo.cs diff --git a/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt b/src/MvcPrecompilation/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt similarity index 100% rename from test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt rename to src/MvcPrecompilation/test/FunctionalTests/Resources/SimpleAppTest.Home.Index.txt diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj b/src/MvcPrecompilation/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj similarity index 100% rename from test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj rename to src/MvcPrecompilation/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test.csproj diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs b/src/MvcPrecompilation/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs similarity index 100% rename from test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs rename to src/MvcPrecompilation/test/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Test/PrecompileRunCommandTest.cs diff --git a/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj similarity index 100% rename from testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj diff --git a/testapps/ApplicationWithConfigureMvc/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithConfigureMvc/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Program.cs similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Program.cs diff --git a/testapps/ApplicationWithConfigureMvc/RazorRewriter.cs b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/RazorRewriter.cs similarity index 100% rename from testapps/ApplicationWithConfigureMvc/RazorRewriter.cs rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/RazorRewriter.cs diff --git a/testapps/ApplicationWithConfigureMvc/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Startup.cs similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Startup.cs diff --git a/testapps/ApplicationWithConfigureMvc/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml similarity index 100% rename from testapps/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithConfigureMvc/Views/Home/ViewWithPreprocessor.cshtml diff --git a/testapps/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj diff --git a/testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithCustomInputFiles/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Program.cs similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Program.cs diff --git a/testapps/ApplicationWithCustomInputFiles/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Startup.cs similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Startup.cs diff --git a/testapps/ApplicationWithCustomInputFiles/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml similarity index 100% rename from testapps/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithCustomInputFiles/Views/Home/NotIncluded.cshtml diff --git a/testapps/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj similarity index 100% rename from testapps/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj diff --git a/testapps/ApplicationWithParseErrors/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Program.cs similarity index 100% rename from testapps/ApplicationWithParseErrors/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Program.cs diff --git a/testapps/ApplicationWithParseErrors/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Startup.cs similarity index 100% rename from testapps/ApplicationWithParseErrors/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Startup.cs diff --git a/testapps/ApplicationWithParseErrors/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithParseErrors/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithParseErrors/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithParseErrors/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithParseErrors/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/ApplicationWithRazorSdkNeitherUsed.csproj diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Program.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Program.cs diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Startup.cs diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkNeitherUsed/Views/_ViewStart.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/ApplicationWithRazorSdkPrecompilationUsed.csproj diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Program.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Program.cs diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Startup.cs diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkPrecompilationUsed/Views/_ViewStart.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/ApplicationWithRazorSdkUsed.csproj diff --git a/testapps/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithRazorSdkUsed/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Program.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Program.cs diff --git a/testapps/ApplicationWithRazorSdkUsed/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Startup.cs similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Startup.cs diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Home/About.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Home/Index.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithRazorSdkUsed/Views/_ViewStart.cshtml diff --git a/testapps/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj similarity index 100% rename from testapps/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/ApplicationWithTagHelpers.csproj diff --git a/testapps/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Components/CopyrightViewComponent.cs diff --git a/testapps/ApplicationWithTagHelpers/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Controllers/HomeController.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Controllers/HomeController.cs diff --git a/testapps/ApplicationWithTagHelpers/Program.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Program.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/Program.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Program.cs diff --git a/testapps/ApplicationWithTagHelpers/Startup.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Startup.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/Startup.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Startup.cs diff --git a/testapps/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs similarity index 100% rename from testapps/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/TagHelpers/TestTagHelper.cs diff --git a/testapps/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Home/ClassLibraryTagHelper.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Home/LocalTagHelper.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Shared/Components/Copyright/Default.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/Shared/_Layout.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/_ViewImports.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/_ViewImports.cshtml diff --git a/testapps/ApplicationWithTagHelpers/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/_ViewStart.cshtml similarity index 100% rename from testapps/ApplicationWithTagHelpers/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/ApplicationWithTagHelpers/Views/_ViewStart.cshtml diff --git a/testapps/ClassLibraryTagHelper/BoldTagHelper.cs b/src/MvcPrecompilation/testapps/ClassLibraryTagHelper/BoldTagHelper.cs similarity index 100% rename from testapps/ClassLibraryTagHelper/BoldTagHelper.cs rename to src/MvcPrecompilation/testapps/ClassLibraryTagHelper/BoldTagHelper.cs diff --git a/testapps/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj b/src/MvcPrecompilation/testapps/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj similarity index 100% rename from testapps/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj rename to src/MvcPrecompilation/testapps/ClassLibraryTagHelper/ClassLibraryTagHelper.csproj diff --git a/testapps/Directory.Build.props b/src/MvcPrecompilation/testapps/Directory.Build.props similarity index 100% rename from testapps/Directory.Build.props rename to src/MvcPrecompilation/testapps/Directory.Build.props diff --git a/testapps/Directory.Build.targets b/src/MvcPrecompilation/testapps/Directory.Build.targets similarity index 100% rename from testapps/Directory.Build.targets rename to src/MvcPrecompilation/testapps/Directory.Build.targets diff --git a/testapps/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml similarity index 100% rename from testapps/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Areas/TestArea/Views/Home/Index.cshtml diff --git a/testapps/PublishWithEmbedViewSources/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Controllers/HomeController.cs similarity index 100% rename from testapps/PublishWithEmbedViewSources/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Controllers/HomeController.cs diff --git a/testapps/PublishWithEmbedViewSources/Program.cs b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Program.cs similarity index 100% rename from testapps/PublishWithEmbedViewSources/Program.cs rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Program.cs diff --git a/testapps/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj similarity index 100% rename from testapps/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/PublishWithEmbedViewSources.csproj diff --git a/testapps/PublishWithEmbedViewSources/Startup.cs b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Startup.cs similarity index 100% rename from testapps/PublishWithEmbedViewSources/Startup.cs rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Startup.cs diff --git a/testapps/PublishWithEmbedViewSources/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Views/Home/About.cshtml similarity index 100% rename from testapps/PublishWithEmbedViewSources/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Views/Home/About.cshtml diff --git a/testapps/PublishWithEmbedViewSources/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Views/Home/Index.cshtml similarity index 100% rename from testapps/PublishWithEmbedViewSources/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/PublishWithEmbedViewSources/Views/Home/Index.cshtml diff --git a/testapps/RazorPagesApp/Pages/Auth/Index.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Auth/Index.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Auth/Index.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Auth/Index.cshtml diff --git a/testapps/RazorPagesApp/Pages/Index.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Index.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Index.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Index.cshtml diff --git a/testapps/RazorPagesApp/Pages/Login.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Login.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Login.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Login.cshtml diff --git a/testapps/RazorPagesApp/Pages/MyPageModel.cs b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/MyPageModel.cs similarity index 100% rename from testapps/RazorPagesApp/Pages/MyPageModel.cs rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/MyPageModel.cs diff --git a/testapps/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Nested1/Nested2/PageWithTagHelper.cshtml diff --git a/testapps/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/Nested1/_ViewImports.cshtml diff --git a/testapps/RazorPagesApp/Pages/PageWithModel.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/PageWithModel.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/PageWithModel.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/PageWithModel.cshtml diff --git a/testapps/RazorPagesApp/Pages/PageWithRoute.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/PageWithRoute.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/PageWithRoute.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/PageWithRoute.cshtml diff --git a/testapps/RazorPagesApp/Pages/_PageStart.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/_PageStart.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/_PageStart.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/_PageStart.cshtml diff --git a/testapps/RazorPagesApp/Pages/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Pages/_ViewImports.cshtml similarity index 100% rename from testapps/RazorPagesApp/Pages/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Pages/_ViewImports.cshtml diff --git a/testapps/RazorPagesApp/Program.cs b/src/MvcPrecompilation/testapps/RazorPagesApp/Program.cs similarity index 100% rename from testapps/RazorPagesApp/Program.cs rename to src/MvcPrecompilation/testapps/RazorPagesApp/Program.cs diff --git a/testapps/RazorPagesApp/RazorPagesApp.csproj b/src/MvcPrecompilation/testapps/RazorPagesApp/RazorPagesApp.csproj similarity index 100% rename from testapps/RazorPagesApp/RazorPagesApp.csproj rename to src/MvcPrecompilation/testapps/RazorPagesApp/RazorPagesApp.csproj diff --git a/testapps/RazorPagesApp/Startup.cs b/src/MvcPrecompilation/testapps/RazorPagesApp/Startup.cs similarity index 100% rename from testapps/RazorPagesApp/Startup.cs rename to src/MvcPrecompilation/testapps/RazorPagesApp/Startup.cs diff --git a/testapps/RazorPagesApp/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/RazorPagesApp/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/RazorPagesApp/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/RazorPagesApp/Views/Shared/_Layout.cshtml diff --git a/testapps/SimpleApp/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/SimpleApp/Controllers/HomeController.cs similarity index 100% rename from testapps/SimpleApp/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/SimpleApp/Controllers/HomeController.cs diff --git a/testapps/SimpleApp/Program.cs b/src/MvcPrecompilation/testapps/SimpleApp/Program.cs similarity index 100% rename from testapps/SimpleApp/Program.cs rename to src/MvcPrecompilation/testapps/SimpleApp/Program.cs diff --git a/testapps/SimpleApp/SimpleApp.csproj b/src/MvcPrecompilation/testapps/SimpleApp/SimpleApp.csproj similarity index 100% rename from testapps/SimpleApp/SimpleApp.csproj rename to src/MvcPrecompilation/testapps/SimpleApp/SimpleApp.csproj diff --git a/testapps/SimpleApp/Startup.cs b/src/MvcPrecompilation/testapps/SimpleApp/Startup.cs similarity index 100% rename from testapps/SimpleApp/Startup.cs rename to src/MvcPrecompilation/testapps/SimpleApp/Startup.cs diff --git a/testapps/SimpleApp/Views/Home/About.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/Home/About.cshtml similarity index 100% rename from testapps/SimpleApp/Views/Home/About.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/Home/About.cshtml diff --git a/testapps/SimpleApp/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/Home/Index.cshtml similarity index 100% rename from testapps/SimpleApp/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/Home/Index.cshtml diff --git a/testapps/SimpleApp/Views/Shared/_Layout.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/Shared/_Layout.cshtml similarity index 100% rename from testapps/SimpleApp/Views/Shared/_Layout.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/Shared/_Layout.cshtml diff --git a/testapps/SimpleApp/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/_ViewImports.cshtml similarity index 100% rename from testapps/SimpleApp/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/_ViewImports.cshtml diff --git a/testapps/SimpleApp/Views/_ViewStart.cshtml b/src/MvcPrecompilation/testapps/SimpleApp/Views/_ViewStart.cshtml similarity index 100% rename from testapps/SimpleApp/Views/_ViewStart.cshtml rename to src/MvcPrecompilation/testapps/SimpleApp/Views/_ViewStart.cshtml diff --git a/testapps/SimpleAppWithAssemblyRename/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Controllers/HomeController.cs similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Controllers/HomeController.cs diff --git a/testapps/SimpleAppWithAssemblyRename/Program.cs b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Program.cs similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Program.cs rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Program.cs diff --git a/testapps/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/SimpleAppWithAssemblyRename.csproj diff --git a/testapps/SimpleAppWithAssemblyRename/Startup.cs b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Startup.cs similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Startup.cs rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Startup.cs diff --git a/testapps/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Views/Home/Index.cshtml diff --git a/testapps/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml b/src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml similarity index 100% rename from testapps/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml rename to src/MvcPrecompilation/testapps/SimpleAppWithAssemblyRename/Views/_ViewImports.cshtml diff --git a/testapps/StrongNamedApp/Controllers/HomeController.cs b/src/MvcPrecompilation/testapps/StrongNamedApp/Controllers/HomeController.cs similarity index 100% rename from testapps/StrongNamedApp/Controllers/HomeController.cs rename to src/MvcPrecompilation/testapps/StrongNamedApp/Controllers/HomeController.cs diff --git a/testapps/StrongNamedApp/Program.cs b/src/MvcPrecompilation/testapps/StrongNamedApp/Program.cs similarity index 100% rename from testapps/StrongNamedApp/Program.cs rename to src/MvcPrecompilation/testapps/StrongNamedApp/Program.cs diff --git a/testapps/StrongNamedApp/Startup.cs b/src/MvcPrecompilation/testapps/StrongNamedApp/Startup.cs similarity index 100% rename from testapps/StrongNamedApp/Startup.cs rename to src/MvcPrecompilation/testapps/StrongNamedApp/Startup.cs diff --git a/testapps/StrongNamedApp/StrongNamedApp.csproj b/src/MvcPrecompilation/testapps/StrongNamedApp/StrongNamedApp.csproj similarity index 100% rename from testapps/StrongNamedApp/StrongNamedApp.csproj rename to src/MvcPrecompilation/testapps/StrongNamedApp/StrongNamedApp.csproj diff --git a/testapps/StrongNamedApp/Views/Home/Index.cshtml b/src/MvcPrecompilation/testapps/StrongNamedApp/Views/Home/Index.cshtml similarity index 100% rename from testapps/StrongNamedApp/Views/Home/Index.cshtml rename to src/MvcPrecompilation/testapps/StrongNamedApp/Views/Home/Index.cshtml diff --git a/version.props b/src/MvcPrecompilation/version.props similarity index 100% rename from version.props rename to src/MvcPrecompilation/version.props