From 9278c435f59ba56e9c678fa75b112ce44c5147c6 Mon Sep 17 00:00:00 2001 From: Chris Rummel Date: Tue, 31 May 2022 14:51:27 -0500 Subject: [PATCH] Ignore missing native SourceLink metadata in source-build. This returns the source-build behavior to what it was doing before https://github.com/dotnet/runtime/commit/ff5840bbe619e74502e0c8466153e233a2ec6dc5. 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. --- src/SourceBuild/tarball/content/repos/runtime.common.props | 1 + src/SourceBuild/tarball/content/repos/runtime.proj | 1 + 2 files changed, 2 insertions(+) diff --git a/src/SourceBuild/tarball/content/repos/runtime.common.props b/src/SourceBuild/tarball/content/repos/runtime.common.props index 19680fa07..907171eb7 100644 --- a/src/SourceBuild/tarball/content/repos/runtime.common.props +++ b/src/SourceBuild/tarball/content/repos/runtime.common.props @@ -11,6 +11,7 @@ $(StandardSourceBuildArgs.Replace('-bl', '-nobl')) + $(BuildCommandArgs) /p:VerifySourceLinkFileExists=false $(StandardSourceBuildCommand) $(BuildCommandArgs) $(ArmEnvironmentVariables) $(StandardSourceBuildCommand) $(BuildCommandArgs) diff --git a/src/SourceBuild/tarball/content/repos/runtime.proj b/src/SourceBuild/tarball/content/repos/runtime.proj index 59ea1d6fc..67082b871 100644 --- a/src/SourceBuild/tarball/content/repos/runtime.proj +++ b/src/SourceBuild/tarball/content/repos/runtime.proj @@ -10,6 +10,7 @@ $(StandardSourceBuildArgs) $(BuildCommandArgs) /p:TargetRid=$(OverrideTargetRid) $(BuildCommandArgs) /p:SourceBuildNonPortable=true + $(BuildCommandArgs) /p:VerifySourceLinkFileExists=false $(StandardSourceBuildCommand) $(BuildCommandArgs)