Skip to content

Commit d93b207

Browse files
BrennanConroydougbu
authored andcommitted
Add Site Extension to patch (#9336)
- make build.cmd work - update build/repo.props Co-Authored-By: BrennanConroy <[email protected]>
1 parent d004cf0 commit d93b207

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

build/repo.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<SignCheckExclusionsFile>$(RepositoryRoot)eng\signcheck.exclusions.txt</SignCheckExclusionsFile>
1919
<SharedSourcesFolder>$(RepositoryRoot)src\Shared\</SharedSourcesFolder>
2020
<SharedFxArchitecture Condition="'$(SharedFxArchitecture)' == ''">$(SharedFxRid.Substring($([MSBuild]::Add($(SharedFxRid.LastIndexOf('-')), 1))))</SharedFxArchitecture>
21-
<BuildSiteExtensions>false</BuildSiteExtensions>
21+
<BuildSiteExtensions Condition=" '$(VersionPrefix)' == '2.2.5' " >true</BuildSiteExtensions>
2222
<BuildSiteExtensions Condition="'$(BuildSiteExtensions)' == 'true' AND '$(OS)' != 'Windows_NT'">false</BuildSiteExtensions>
2323
</PropertyGroup>
2424

eng/Dependencies.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ and are generated based on the last package release.
6060
<LatestPackageReference Include="Microsoft.Extensions.Localization.Abstractions" Version="$(MicrosoftExtensionsLocalizationAbstractionsPackageVersion)" />
6161
<LatestPackageReference Include="Microsoft.Extensions.Localization" Version="$(MicrosoftExtensionsLocalizationPackageVersion)" />
6262
<LatestPackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsLoggingAbstractionsPackageVersion)" />
63+
<LatestPackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" Version="$(MicrosoftExtensionsLoggingAzureAppServicesPackageVersion)" />
6364
<LatestPackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="$(MicrosoftExtensionsLoggingConfigurationPackageVersion)" />
6465
<LatestPackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsolePackageVersion)" />
6566
<LatestPackageReference Include="Microsoft.Extensions.Logging.Debug" Version="$(MicrosoftExtensionsLoggingDebugPackageVersion)" />

eng/PatchConfig.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ Later on, this will be checked using this condition:
5656
java:signalr;
5757
Microsoft.AspNetCore.Mvc.Core;
5858
Microsoft.AspNetCore.Mvc.RazorPages;
59+
Microsoft.AspNetCore.AzureAppServicesIntegration;
60+
Microsoft.AspNetCore.AzureAppServices.HostingStartup;
61+
Microsoft.AspNetCore.AzureAppServices.SiteExtension;
5962
</PackagesInPatch>
6063
</PropertyGroup>
6164

src/Azure/AzureAppServices.HostingStartup/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net461</TargetFrameworks>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<PackageTags>aspnetcore;azure;appservices</PackageTags>
10+
<UseProjectReferences>true</UseProjectReferences>
1011
</PropertyGroup>
1112

1213
<ItemGroup>

src/Azure/AzureAppServicesIntegration/src/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<PackageTags>aspnetcore;azure;appservices</PackageTags>
10+
<UseLatestPackageReferences>true</UseLatestPackageReferences>
1011
</PropertyGroup>
1112

1213
<ItemGroup>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@ECHO OFF
2-
SET RepoRoot="%~dp0..\..\.."
3-
%RepoRoot%\build.cmd -LockFile %RepoRoot%\korebuild-lock.txt -Path %~dp0 %*
2+
SET RepoRoot=%~dp0..\..\..
3+
%RepoRoot%\build.cmd -LockFile %RepoRoot%\korebuild-lock.txt -projects %~dp0**\*.*proj %*

0 commit comments

Comments
 (0)