Ignore missing native SourceLink metadata in source-build.

This returns the source-build behavior to what it was doing before ff5840bbe6.   More investigation is needed on whether there needs to be another fix to native sourcelink in source-build but this will fix the build for now.
This commit is contained in:
Chris Rummel 2022-05-31 14:51:27 -05:00
parent 22f31fdc0d
commit 9278c435f5
No known key found for this signature in database
GPG key ID: DB9B2B231CB67DC7
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@
<!-- StandardSourceBuildArgs includes -bl which overrides the output of the inner binlog. Change to -nobl -->
<BuildCommandArgs>$(StandardSourceBuildArgs.Replace('-bl', '-nobl'))</BuildCommandArgs>
<BuildCommandArgs>$(BuildCommandArgs) /p:VerifySourceLinkFileExists=false</BuildCommandArgs>
<BuildCommand>$(StandardSourceBuildCommand) $(BuildCommandArgs)</BuildCommand>
<BuildCommand Condition="$(Platform.Contains('arm')) AND '$(BuildArchitecture)' != 'arm64'">$(ArmEnvironmentVariables) $(StandardSourceBuildCommand) $(BuildCommandArgs)</BuildCommand>

View file

@ -10,6 +10,7 @@
<BuildCommandArgs>$(StandardSourceBuildArgs)</BuildCommandArgs>
<BuildCommandArgs>$(BuildCommandArgs) /p:TargetRid=$(OverrideTargetRid)</BuildCommandArgs>
<BuildCommandArgs>$(BuildCommandArgs) /p:SourceBuildNonPortable=true</BuildCommandArgs>
<BuildCommandArgs>$(BuildCommandArgs) /p:VerifySourceLinkFileExists=false</BuildCommandArgs>
<BuildCommand>$(StandardSourceBuildCommand) $(BuildCommandArgs)</BuildCommand>
</PropertyGroup>