Skip to content

Conversation

@ViktorHofer
Copy link
Member

Fixes #1044

When performing an official build, DebugType is portable which causes the IncludeSymbols flag in src/Directory.Build.props to evaluate to true. The Microsoft.Build.StandardCI project uses the Microsoft.Build.NoTargets SDK which doesn't produce a build output (as the package only ships a content file and not a binary). Change the condition to check if the NoTargets SDK is used which indicates that a symbol shouldn't be included.

When performing an official build, DebugType is portable which causes
the IncludeSymbols flag in src/Directory.Build.props to evaluate to
true. The Microsoft.Build.StandardCI project uses the
Microsoft.Build.NoTargets SDK which doesn't produce a build output (as
the package only ships a content file and not a binary). Change the
condition to check if the NoTargets SDK is used which indicates that a
symbol shouldn't be included.
@tmat tmat merged commit 23bda65 into dotnet:main Jun 9, 2023
@ViktorHofer ViktorHofer deleted the FixOfficialBuilds branch June 10, 2023 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI builds are failing

2 participants