Skip to content

Remove Microsoft.Extensions.DependencyModel 6.0.0 pre-build dependency #84925

@oleksandr-didyk

Description

@oleksandr-didyk

Required by #81468

As stated in the discussion for the above-mentioned issue #81468 (comment):

We build that library ourselves in the repository so we should remove the prebuilt package dependency entirely

The package in question is marked as pre-built in source-build. Furthermore, the package cannot be SBRPed as it is loaded during the build:

Microsoft.NETCore.App.Runtime.Composite -> 
  microsoft.dotnet.sharedframework.sdk/8.0.0-beta.23213.1/targets/sharedfx.targets(189,5): error MSB4018: The "GenerateSharedFrameworkDepsFile" task failed unexpectedly. [/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.Composite.sfxproj]
  microsoft.dotnet.sharedframework.sdk/8.0.0-beta.23213.1/targets/sharedfx.targets(189,5): error MSB4018: System.BadImageFormatException: Could not load file or assembly 'Microsoft.Extensions.DependencyModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Reference assemblies cannot be loaded for execution. (0x80131058) [src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.Composite.sfxproj]

CC: @ViktorHofer

Metadata

Metadata

Assignees

Labels

area-Infrastructure-installerblockingMarks issues that we want to fast track in order to unblock other important work

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions