From dee673ea0960992aebdbe5a229184ae4a3f4dd7b Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 20 Dec 2017 10:52:11 -0800 Subject: [PATCH] Build site extensions in main build chain (#130) --- .gitignore | 1 + build/repo.props | 6 +- build/repo.targets | 58 ++++++++++++++----- ...NetCore.AzureAppServices.TestBundle.csproj | 5 -- 4 files changed, 47 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index eb36dd36be..5c05ff5f40 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ project.lock.json global.json msbuild.binlog .test-dotnet/ +.deps/ \ No newline at end of file diff --git a/build/repo.props b/build/repo.props index 156de0f0e4..813f32428c 100644 --- a/build/repo.props +++ b/build/repo.props @@ -8,8 +8,10 @@ - - + + + + + + <_SdkVersion>$([System.IO.Path]::GetFileName($([System.IO.Path]::GetDirectoryName('$(MSBuildExtensionsPath)')))) $(RepositoryRoot).test-dotnet\ $(RepositoryRoot)artifacts\apps $(TestDotNetPath)extension\ - $(RepositoryRoot)artifacts\extensions + $(RepositoryRoot)artifacts\build $(RepositoryRoot)\test\Microsoft.AspNetCore.AzureAppServices.FunctionalTests\ https://dotnet.myget.org/F/aspnetcore-ci-dev/ master coherent - - - $(RepositoryRoot)src\Microsoft.AspNetCore.AzureAppServices.TestBundle\Microsoft.AspNetCore.AzureAppServices.TestBundle.csproj - - - $(RepositoryRoot)src\Microsoft.AspNetCore.Runtime.SiteExtension\Microsoft.AspNetCore.Runtime.SiteExtension.csproj - - - - + - + + + + + + - + + - + + + <_CleanupFiles + Include="$(SiteExtensionWorkingDirectory)additionalDeps;$(SiteExtensionWorkingDirectory)store" /> + + <_CleanupFiles + Include="$([System.IO.Directory]::GetDirectories('$(SiteExtensionWorkingDirectory)shared\Microsoft.NETCore.App\'))" + Exclude="$(SiteExtensionWorkingDirectory)shared\Microsoft.NETCore.App\$(MicrosoftNETCoreApp21PackageVersion)" /> + + <_CleanupFiles + Include="$([System.IO.Directory]::GetDirectories('$(SiteExtensionWorkingDirectory)host\fxr'))" + Exclude="$(SiteExtensionWorkingDirectory)host\fxr\$(MicrosoftNETCoreApp21PackageVersion)" /> + + + + + + + + + + + - @@ -50,7 +76,7 @@ - + - - - - -