Skip to content

Commit c066332

Browse files
committed
Add workaround for double-slash errors in Publishing.proj
1 parent a310566 commit c066332

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

eng/Publishing.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project>
2+
<!-- The one use of ArtifactsDir in Publish.proj adds an additional slash, confusing itself. -->
3+
<PropertyGroup Condition=" HasTrailingSlash('$(ArtifactsDir)') ">
4+
<ArtifactsDir>$(ArtifactsDir.Substring(0, $(ArtifactsDir.Length))</ArtifactsDir>
5+
</PropertyGroup>
6+
</Project>

0 commit comments

Comments
 (0)