Skip to content
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b356f99
Update dependencies from build 307126
dotnet-maestro[bot] Mar 20, 2026
818239f
exclude overlayed targets in the runtime from stage 0 as bad architec…
nagilson Mar 23, 2026
2d70f99
only replace the staged files if the arch mismatches
nagilson Mar 23, 2026
0e5d372
Merge branch 'release/10.0.2xx' into darc-release/10.0.2xx-afb95f6a-8…
nagilson Mar 23, 2026
a2f09f3
Update dependencies from build 307443
dotnet-maestro[bot] Mar 24, 2026
6607b94
[release/10.0.1xx] Source code updates from dotnet/dotnet (#53572)
DonnaChen888 Mar 24, 2026
5522bcc
Fix MSB4043: qualified metadata reference in item transform
nagilson Mar 24, 2026
9e42afc
Merge branch 'release/10.0.2xx' into darc-release/10.0.2xx-afb95f6a-8…
nagilson Mar 24, 2026
7098c82
Also overwrite stage0 Microsoft.AspNetCore.App for cross-compilation
nagilson Mar 24, 2026
1a50ad3
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Mar 25, 2026
222c107
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Mar 25, 2026
da3b26d
[release/10.0.2xx] Source code updates from dotnet/dotnet (#53555)
nagilson Mar 25, 2026
3dc9177
Update dependencies from build 307627
dotnet-maestro[bot] Mar 25, 2026
31e29c4
[release/10.0.1xx] Update dependencies from microsoft/testfx (#53585)
DonnaChen888 Mar 25, 2026
fe32c30
Reset files to release/10.0.2xx
github-actions[bot] Mar 25, 2026
3c42768
Merge branch 'release/10.0.2xx' into merge/release/10.0.1xx-to-releas…
DonnaChen888 Mar 25, 2026
342a95e
[release/10.0.2xx] Source code updates from dotnet/dotnet (#53587)
DonnaChen888 Mar 25, 2026
20fb616
[release/10.0.2xx] Update dependencies from microsoft/testfx (#53586)
DonnaChen888 Mar 25, 2026
fdb99e9
[automated] Merge branch 'release/10.0.1xx' => 'release/10.0.2xx' (#5…
DonnaChen888 Mar 25, 2026
d305205
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Mar 27, 2026
d59c081
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Mar 28, 2026
0e81b9c
[release/10.0.2xx] Update dependencies from microsoft/testfx (#53610)
DonnaChen888 Mar 30, 2026
e8edd90
Reset files to release/10.0.3xx
github-actions[bot] Mar 30, 2026
923d92f
Merge branch 'release/10.0.3xx' into merge/release/10.0.2xx-to-releas…
DonnaChen888 Mar 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions src/Layout/redist/targets/OverlaySdkOnLKG.targets
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,56 @@
SkipUnchangedFiles="true"
UseHardLinksIfPossible="false" />

<!-- When cross-compiling (e.g. building osx-arm64 on an x64 agent), the stage0 shared
frameworks have the build machine's architecture, not the target's. Overwrite any
stage0 shared framework versions in the current major.minor band with the built SDK's
files so that native binaries have the correct architecture. -->
<ItemGroup Condition="'$(TargetArchitecture)' != '$(BuildArchitecture)'">
<_Stage0NETCoreSharedFxDir Include="$([System.IO.Directory]::GetDirectories('$(TestHostDotNetRoot)shared/Microsoft.NETCore.App', '$(MajorMinorVersion).*'))" />
<_Stage0NETCoreSharedFxDir Remove="$(TestHostDotNetRoot)shared/Microsoft.NETCore.App/$(MicrosoftNETCoreAppRuntimePackageVersion)" />

<_BuiltNETCoreSharedFxFile Include="$(TestHostDotNetRoot)shared/Microsoft.NETCore.App/$(MicrosoftNETCoreAppRuntimePackageVersion)/**/*" />

<_Stage0AspNetCoreSharedFxDir Include="$([System.IO.Directory]::GetDirectories('$(TestHostDotNetRoot)shared/Microsoft.AspNetCore.App', '$(MajorMinorVersion).*'))" />
<_Stage0AspNetCoreSharedFxDir Remove="$(TestHostDotNetRoot)shared/Microsoft.AspNetCore.App/$(MicrosoftAspNetCoreAppRuntimePackageVersion)" />

<_BuiltAspNetCoreSharedFxFile Include="$(TestHostDotNetRoot)shared/Microsoft.AspNetCore.App/$(MicrosoftAspNetCoreAppRuntimePackageVersion)/**/*" />
</ItemGroup>

<OverrideAndCreateBundledNETCoreAppPackageVersion
Stage0BundledVersionsPath="$(_DotNetHiveRoot)/sdk/$(Stage0SdkVersion)/Microsoft.NETCoreSdk.BundledVersions.props"
Stage2BundledVersionsPath="$(TestHostDotNetRoot)/sdk/$(Version)/Microsoft.NETCoreSdk.BundledVersions.props"/>
</Target>

<!-- Use target batching to avoid qualified metadata references inside item transforms (MSB4043).
Each target runs once per stage0 shared framework directory, capturing its Identity in a
property that can be safely used inside the item transform. -->
<Target Name="OverwriteStage0SharedFxForCrossCompilation"
AfterTargets="OverlaySdkOnLKG"
Condition="'$(TargetArchitecture)' != '$(BuildArchitecture)' AND '@(_Stage0NETCoreSharedFxDir)' != ''"
Outputs="%(_Stage0NETCoreSharedFxDir.Identity)">
<PropertyGroup>
<_CurrentStage0FxDir>%(_Stage0NETCoreSharedFxDir.Identity)</_CurrentStage0FxDir>
</PropertyGroup>

<Copy SourceFiles="@(_BuiltNETCoreSharedFxFile)"
DestinationFiles="@(_BuiltNETCoreSharedFxFile->'$(_CurrentStage0FxDir)/%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="false" />
</Target>

<Target Name="OverwriteStage0AspNetCoreSharedFxForCrossCompilation"
AfterTargets="OverlaySdkOnLKG"
Condition="'$(TargetArchitecture)' != '$(BuildArchitecture)' AND '@(_Stage0AspNetCoreSharedFxDir)' != ''"
Outputs="%(_Stage0AspNetCoreSharedFxDir.Identity)">
<PropertyGroup>
<_CurrentStage0FxDir>%(_Stage0AspNetCoreSharedFxDir.Identity)</_CurrentStage0FxDir>
</PropertyGroup>

<Copy SourceFiles="@(_BuiltAspNetCoreSharedFxFile)"
DestinationFiles="@(_BuiltAspNetCoreSharedFxFile->'$(_CurrentStage0FxDir)/%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="false" />
</Target>

<Target Name="PublishTestWorkloads"
AfterTargets="OverlaySdkOnLKG">
<PropertyGroup>
Expand Down
Loading