Skip to content

Commit 66bba56

Browse files
Fix SiteExtension loading on App Service (#44887)
1 parent 1f76c0c commit 66bba56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/Microsoft.Web.Xdt.Extensions.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<Reference Include="Microsoft.Web.Xdt" />
13+
<!-- We need to reference the same version (or lower maybe) as App Service otherwise the custom transform cannot be loaded -->
14+
<PackageReference Include="Microsoft.Web.Xdt" Version="1.4.0" AllowExplicitReference="true" />
1415
</ItemGroup>
1516

1617
</Project>

0 commit comments

Comments
 (0)