Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrennan <brecon@microsoft.com>2022-11-10 01:47:28 +0300
committerGitHub <noreply@github.com>2022-11-10 01:47:28 +0300
commit31ef17b5aa85dd5f14665b4903215bd439416c57 (patch)
tree10d712638c9c5b50a548f7a4108dd2f8b65529c8
parent5e98069161bc7c860e6452055509150129441928 (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.csproj3
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>