Skip to content

[feature/net11-scouting] Update dependencies from dotnet/arcade#19648

Merged
T-Gro merged 5 commits into
feature/net11-scoutingfrom
darc-feature/net11-scouting-3ae954b4-c206-46fc-a6a6-0bebbb136688
Apr 30, 2026
Merged

[feature/net11-scouting] Update dependencies from dotnet/arcade#19648
T-Gro merged 5 commits into
feature/net11-scoutingfrom
darc-feature/net11-scouting-3ae954b4-c206-46fc-a6a6-0bebbb136688

Conversation

@dotnet-maestro
Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/arcade

  • Updates to .NET SDKs:
    • Updates sdk.version to 11.0.100-preview.4.26210.111
    • Updates tools.dotnet to 11.0.100-preview.4.26210.111

…425.1

On relative base path root
Microsoft.DotNet.Arcade.Sdk From Version 11.0.0-beta.26211.1 -> To Version 11.0.0-beta.26225.1
T-Gro and others added 4 commits April 29, 2026 08:33
…ackageReference

The arcade SDK 11.0.0-beta.26225.1 removed tools/BuildReleasePackages.targets
(moved to toolset/). Replace the direct import with a PackageReference to
Microsoft.DotNet.NuGetRepack.Tasks, which provides the UsingTask for
UpdatePackageVersionTask through its build assets.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The .NET 11 Preview 4 SDK enables NuGet package pruning by default,
which removes packages already provided by the shared framework. This
breaks FSI #r nuget resolution for packages like
Microsoft.Extensions.DependencyInjection.Abstractions. Disable pruning
in the generated project file so all user-requested packages are resolved.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
In .NET 11 Preview 4+, several Microsoft.Extensions.* assemblies moved
into the shared framework (Microsoft.NETCore.App.Ref). When a NuGet
package's assemblies are superseded by the shared framework, they appear
in ReferencePath from the framework ref pack but not in
RuntimeCopyLocalItems. The DependencyManager's MSBuild target now
correctly discovers these assemblies:

- Use RestoreEnablePackagePruning (correct property name, was
  EnablePackagePruning which NuGet ignores) to ensure NuGet resolves
  actual package DLLs, triggering conflict resolution
- Add Update rule to mark framework conflict-resolution winners with
  AssetType=runtime so FSI can discover them via #r nuget resolution
- Guard the Update with a CopyLocal check to preserve existing behavior
  for packages that still have real runtime assets

Update test assertions to reflect that framework-provided assemblies
resolve to ref pack paths (not NuGet cache paths) and have no package
roots.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
On CI, NuGet generates Pkg* properties for resolved packages, which
the DependencyManager uses to find nuspec files and derive package
roots. The directly-requested package still provides its root; only
the transitive dependency root is gone (now framework-provided).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Apr 30, 2026
@T-Gro T-Gro merged commit 250906d into feature/net11-scouting Apr 30, 2026
45 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in F# Compiler and Tooling Apr 30, 2026
@dotnet-maestro dotnet-maestro Bot deleted the darc-feature/net11-scouting-3ae954b4-c206-46fc-a6a6-0bebbb136688 branch April 30, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant