Skip to content

Build our own packages using FrameworkReference #4257

Open
@natemcmaster

Description

@natemcmaster

Depends on NuGet/Home#7342.
Follow up to #4178

The packages we ship which reference the shared framework should be built using FrameworkReference. Once NuGet/Home#7342 is resolved, the metadata for this item will be preserved in the nuspec, which should ensure consumers get all the necessary runtime settings and compiler references.

Workaround
Consumers using our AspNetCore packages, such as Microsoft.AspNetCore.NodeServices, need to make sure they also have <FrameworkReference Include="Microsoft.AspNetCore.App" />. This will be implicitly added with Microsoft.NET.Sdk.Web, but not other MSBuild SDKs.

Changes required

  1. We need to change our own packages to build with FrameworkReference. (Related work Convert projects in this repo to use ProjectReference #4246)
  2. Update our SDK in BuildTools to support using FrameworkReference

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-very-fewThis issue impacts very few customersarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkseverity-nice-to-haveThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions