Skip to content

Commit a893c2f

Browse files
author
=
committed
Don't apply source link workaround in sourcebuild
1 parent 03036f3 commit a893c2f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

eng/Workarounds.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
</ItemGroup>
2222

2323
<!-- Workaround https://github.com/aspnet/AspNetCore/issues/7503. This chains GenerateSourceLinkFile before razor component targets run. -->
24-
<Target Name="_EnsureSourceLinkHappensBeforeRazorComponentGeneration"
24+
<Target Condition="'$(DotNetBuildFromSource)' != 'true'"
25+
Name="_EnsureSourceLinkHappensBeforeRazorComponentGeneration"
2526
BeforeTargets="PrepareForRazorComponentGenerate"
2627
DependsOnTargets="GenerateSourceLinkFile" />
2728

msbuild.binlog

-2.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)