From 589db8b413f48c225234dca4b36bebe813423b23 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg <rybrande@microsoft.com> Date: Tue, 27 Nov 2018 12:12:19 -0800 Subject: [PATCH] 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 4eea96ab69c..00000000000 --- 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 d4ee1cb7f39..00000000000 --- 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 37655ead714..00000000000 --- 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 37655ead714..00000000000 --- 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 64bdbb4441c..00000000000 --- 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 dc7b8a3cb92..00000000000 --- 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 f5087d9c309..00000000000 --- 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 64ff041d5ca..00000000000 --- 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 7b2956eceee..00000000000 --- 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 e32bddfd514..00000000000 --- a/NuGet.config +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<configuration> - <packageSources> - <clear /> - <!-- Restore sources should be defined in build/sources.props. --> - </packageSources> -</configuration> diff --git a/build.cmd b/build.cmd deleted file mode 100644 index c0050bda125..00000000000 --- 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 98a4b227658..00000000000 --- 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 26697a21fa9..00000000000 --- 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 d217d06e3e4..00000000000 --- 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 d52d5c7e689..00000000000 --- 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 34604c71758..00000000000 --- 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 4c1fed5646c..00000000000 --- 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] [[--] <Arguments>...]" - echo "" - echo "Arguments:" - echo " command The command to be run." - echo " <Arguments>... Arguments passed to the command. Variable number of arguments allowed." - echo "" - echo "Options:" - echo " --verbose Show verbose output." - echo " -c|--channel <CHANNEL> The channel of KoreBuild to download. Overrides the value from the config file.." - echo " --config-file <FILE> The path to the configuration file that stores values. Defaults to korebuild.json." - echo " -d|--dotnet-home <DIR> The directory where .NET Core tools will be stored. Defaults to '\$DOTNET_HOME' or '\$HOME/.dotnet." - echo " --path <PATH> The directory to build. Defaults to the directory containing the script." - echo " -s|--tools-source|-ToolsSource <URL> The base url where build tools can be downloaded. Overrides the value from the config file." - echo " --tools-source-suffix|-ToolsSourceSuffix <SUFFIX> 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 -- GitLab