Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TargetFramework.Sdk in SymStore.targets #4858

Merged
merged 2 commits into from
Feb 17, 2020

Conversation

ViktorHofer
Copy link
Member

Fixes dotnet/runtime#32300

This fixes the frequent failures where multiple inner builds try to write to the same location in combination with SymStore.targets. As discussed in the linked issue, we should investigate if we can change the TargetFramework.Sdk to not depend on such hacks.

cc @Anipik @ericstj

Fixes dotnet/runtime#32300

This fixes the frequent failures where multiple inner builds try to write to the same location in combination with SymStore.targets. As discussed in the linked issue, we should investigate if we can change the TargetFramework.Sdk to not depend on such hacks.
@@ -25,7 +25,10 @@
<_BuildsPortablePdb>false</_BuildsPortablePdb>
<_BuildsPortablePdb Condition="'$(DebugType)' == 'portable' or '$(DebugType)' == 'embedded'">true</_BuildsPortablePdb>

<_SymStoreOutputDir>$(ArtifactsSymStoreDirectory)$(MSBuildProjectName)\$(TargetFramework)\</_SymStoreOutputDir>
<_SymStoreTargetFramework>$(TargetFramework)</_SymStoreTargetFramework>
<!-- Support Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk TargetFrameworkSuffix property. -->
Copy link
Member

@tmat tmat Feb 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please file an issue to fix Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk and link it here in a comment.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done: #4859

@ViktorHofer ViktorHofer merged commit bd2a2b0 into master Feb 17, 2020
@ViktorHofer ViktorHofer deleted the ViktorHofer-symstoretfm branch February 17, 2020 19:21
Copy link
Contributor

@Anipik Anipik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

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.

"The process cannot access the file" error sporadically but frequently in CI builds
3 participants