-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Conversation
85bcebd
to
13878d7
Compare
@@ -17,7 +17,6 @@ | |||
<!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. --> | |||
<PropertyGroup> | |||
<CoreClrCurrentRef>5d3c9a7c54c1c59b764de0e2dfb6bbb4ce29476c</CoreClrCurrentRef> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was mostly used to update ILAsmVersion.txt. I see you are removing that file, should we just remove the MicrosoftNETCoreRuntimeCoreCLRPackageVersion update and make a DarcMaestro subscription for the CoreCLR packages? Also, if that happens, should we delete this file and move anything interesting left to Directory.Build.props? Are there scenarios that depend on this as it currently is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventual goal is to get rid of this file - I'll look into it and may work on that in this change if it makes sense.
a0d55f6
to
285f5de
Compare
03f4d2c
to
f069b2d
Compare
Instead we use the built-in SDK targets to restore packages. The new logic will not copy pdbs from package dependencies to CORE_ROOT.
This prevents issues with the old SDK trying to copy ilasm to the Tools directory for each build of an ilproj.
Use netcoreapp3.0 to ensure that package dependencies show up in the build output (bin/TargetingPack). This fixes a missing reference for CscBench, which depends on Microsoft.CodeAnalysis.CSharp. Also clean up some unnecessary properties.
This library needs to be restored for netcoreapp5.0, and built for netcoreapp3.0 to match the tests.
There were problems when trying to target 5.0 using the current SDK, which only supports targeting 3.0 out of the box. This required using a more recent SDK, as p6 restored framework references differently. p7 is able to restore a framework reference with the MicrosoftNETCoreApp version that we desire.
9f55268
to
a6d0e09
Compare
/azp run coreclr-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run coreclr-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm thank you for this change!
|
||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" /> | ||
|
||
<Import Project="$(NuGetPackageRoot)\microsoft.dotnet.versiontools.tasks\$(MicrosoftDotNetVersionToolsTasksPackageVersion)\build\Microsoft.DotNet.VersionTools.Tasks.targets" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically this is the only thing that we still have from buildtools?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now comes from arcade: https://github.com/dotnet/arcade/tree/master/src/Microsoft.DotNet.VersionTools :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Great! Thank you!
@@ -59,14 +31,6 @@ | |||
<AltJitArch>$(__AltJitArch)</AltJitArch> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can git of this in the future.
</AllResolvedRuntimeDependencies> | ||
<RunTimeDependecyCopyLocalFile Include="@(AllResolvedRuntimeDependencies)" Exclude="@(RunTimeDependecyExcludeFiles)"/> | ||
<RunTimeDependecyCopyLocal Include="@(RunTimeDependecyCopyLocalFile -> '%(File)')" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can fix the typo in the future.
|
||
<Copy | ||
SourceFiles="@(RunTimeDependecyCopyLocal)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo
After dotnet#26108, this was broken because the Tools.proj was never restored on the agent running the finalize-publish job. This fixes the script to do a restore, and adds a missing import.
After dotnet#26108, this was broken because the Tools.proj was never restored on the agent running the finalize-publish job. This fixes the script to do a restore, and adds a missing import.
* Fix update versions logic After #26108, this was broken because the Tools.proj was never restored on the agent running the finalize-publish job. This fixes the script to do a restore, and adds a missing import. * Remove UpdatePublishedVersions.ps1 and add darc dependency
I think this is finally ready to go. @dotnet/coreclr-infra this removes the dependency on buildtools. Please let me know if you think there's any additional testing I need to do.
This opens up the possibility of further simplifying some of our msbuild imports, but I don't want to do so in this PR as it's already a sizeable change.