add pre-built detection#86151
Conversation
|
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue Detailsnull
|
We have been relying on NuGet APIs underneath the Microsoft.DotNet.Build.Tasks.TargetFramework package for years. What's the reason for this showing up now? |
I added SRBP for Nuget as part of this work, which was fine at first, but after my change in Arcade the build started failing as it was loading the ref pack in |
Yes, please silence the check. I'm not exactly happy about that validation tbh. We have other shipping projects with "Tests" in its name which currently are excluded from source build as they rely on external prebuilds, i.e. Microsoft.Extensions.DependencyInjection.Specifications.Tests. While those currently don't cause a problem, we might have other such cases in the future which we want to include during source build. |
I think I figured out what happened, but will talk it out with Michael to be sure -> In this case, it seems that during Arcade build the SBRP version of Nuget got included in the |
eng/SourceBuildPrebuiltBaseline.xml
Outdated
There was a problem hiding this comment.
@mmitche I followed your reasoning for baselining Analyzers in roslyn here as well, since it follows the same pattern of product build utilizing latest version while for repo build we cannot use intermediates (for now) or SBRP. Pinging just to verify if you think this train of thought is correct here as well. Thanks!
be3a415 to
d8487f8
Compare
|
in the future please make sure to update the shas too when updating VersionDetails.xml |
My bad, normally I update dependencies via the darc client, which handles this for me, but this time I did it manually. Will make sure to not forget this in the future |
Resolves #81468
Existing issues:
Microsoft.CodeAnalysis 4.5.0- add microsoft.codeanalysis 4.5.0 source-build-reference-packages#669DotNet.Build.Tasksissue - add pre-built detection #86151 (comment), solved by remove nuget 6.2.2 source-build-reference-packages#673runtime/src/libraries/pretest.proj- source-build logic has a check for test projects & the check complains aboutsrc/libraries/pretest.proj. Silenced it for the repo as requested in add pre-built detection #86151 (comment). Additionally, created Remove IsTestUsageByHeuristic logic in Source Build source-build#3453 to get rid of the check completelyCC: @MichaelSimons @ViktorHofer