Skip to content

Fix SymStore targets to fail build on error#4379

Merged
mmitche merged 1 commit intodotnet:masterfrom
tmat:FixSymStoreTargets
Nov 18, 2019
Merged

Fix SymStore targets to fail build on error#4379
mmitche merged 1 commit intodotnet:masterfrom
tmat:FixSymStoreTargets

Conversation

@tmat
Copy link
Member

@tmat tmat commented Nov 16, 2019

Fixes #4370

@tmat
Copy link
Member Author

tmat commented Nov 16, 2019

@mmitche FYI

@mmitche
Copy link
Member

mmitche commented Nov 18, 2019

Thanks, I had a similar fix in progress. Fixes: #4370

@ViktorHofer
Copy link
Member

This broke the runtime repo:

D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\5.0.0-beta.19568.10\tools\SymStore.targets(22,41): error MSB4057: The target "CoreCompile" does not exist in the project. [D:\a\1\s\src\libraries\build.proj]
##[error].packages\microsoft.dotnet.arcade.sdk\5.0.0-beta.19568.10\tools\SymStore.targets(22,41): error MSB4057: (NETCORE_ENGINEERING_TELEMETRY=Build) The target "CoreCompile" does not exist in the project.

https://dev.azure.com/dnceng/public/_build/results?buildId=432049

We could work around this and add the CoreCompile target of course but I would like to understand/discuss the break first.

@tmat
Copy link
Member Author

tmat commented Nov 19, 2019

I'll take a look.

@tmat
Copy link
Member Author

tmat commented Nov 19, 2019

I think we can fix it by replacing CoreCompile, which is only available in managed projects, with Build.

@tmat
Copy link
Member Author

tmat commented Nov 19, 2019

Fix #4401

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.

_DeployPortableSymbolsToSymStore failures do not report to msbuild

3 participants