Skip to content

Commit 5f8b7fd

Browse files
Fix IIS test build (#49811)
1 parent 22b8ebb commit 5f8b7fd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Servers/IIS/build/testsite.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
Condition=" '$(InProcessTestSite)' == 'true' AND '$(UseIisNativeAssets)' == 'true' AND '$(TargetFrameworkIdentifier)' != '.NETFramework'"
7575
BeforeTargets="Publish"
7676
DependsOnTargets="GeneratePublishDependencyFile;CopyFilesToPublishDirectory;PrepareInjectionApp">
77-
<Exec Command="$(InjectDepsApp) &quot;$(PublishDepsFilePath)&quot; $(RuntimeIdentifier) " />
77+
<!-- Use $(PublishDir)$(ProjectDepsFileName) instead of $(PublishDepsFilePath) here until
78+
https://github.com/dotnet/arcade/issues/13911 is fixed. This should be equivalent based on
79+
https://github.com/dotnet/sdk/blob/b736f2e955a9167eda86cae79208a89a9e42bfe0/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets#L1059
80+
-->
81+
<Exec Command="$(InjectDepsApp) &quot;$(PublishDir)$(ProjectDepsFileName)&quot; $(RuntimeIdentifier) " />
7882
</Target>
7983
</Project>

0 commit comments

Comments
 (0)