diff options
author | Brennan <brecon@microsoft.com> | 2022-11-10 01:47:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 01:47:28 +0300 |
commit | 31ef17b5aa85dd5f14665b4903215bd439416c57 (patch) | |
tree | 10d712638c9c5b50a548f7a4108dd2f8b65529c8 | |
parent | 5e98069161bc7c860e6452055509150129441928 (diff) |
Fix SiteExtension loading on App Servicebrecon/fwd_ex
Forward port of https://github.com/dotnet/aspnetcore/pull/44887
-rw-r--r-- | src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/Microsoft.Web.Xdt.Extensions.csproj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/Microsoft.Web.Xdt.Extensions.csproj b/src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/Microsoft.Web.Xdt.Extensions.csproj index 7985b489fa..b8ecbcdcad 100644 --- a/src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/Microsoft.Web.Xdt.Extensions.csproj +++ b/src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/Microsoft.Web.Xdt.Extensions.csproj @@ -10,7 +10,8 @@ </PropertyGroup> <ItemGroup> - <Reference Include="Microsoft.Web.Xdt" /> + <!-- We need to reference the same version (or lower maybe) as App Service otherwise the custom transform cannot be loaded --> + <PackageReference Include="Microsoft.Web.Xdt" Version="1.4.0" AllowExplicitReference="true" /> </ItemGroup> </Project> |