Skip to content

Commit

Permalink
Port of sourcelink-related changes from release/7.0 (#11513)
Browse files Browse the repository at this point in the history
* Condition source-link arguments (#11153)

* Remove redundant arguments - these properties are set by repos based on value of DisableSourceLink property
  • Loading branch information
NikolaMilosavljevic authored Nov 6, 2022
1 parent 80b6be4 commit 0c8c78a
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@
<!-- The inner build needs to reference the overall output dir for nupkg transport etc. -->
<InnerBuildArgs>$(InnerBuildArgs) /p:SourceBuildOutputDir=$(SourceBuildOutputDir)</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:SourceBuiltBlobFeedDir=$(SourceBuiltBlobFeedDir)</InnerBuildArgs>

<!-- Work around issue where local clone may cause failure using non-origin remote fallback: https://github.com/dotnet/sourcelink/issues/629 -->
<InnerBuildArgs>$(InnerBuildArgs) /p:EnableSourceControlManagerQueries=false</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:EnableSourceLink=false</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:DeterministicSourcePaths=false</InnerBuildArgs>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 0c8c78a

Please sign in to comment.