Skip to content

Generate .nupkg files that contain aspnetcore-runtime MSI for insertion into Visual Studio #11071

Closed
@natemcmaster

Description

@natemcmaster

We are working with the SDK team to simplifying the insertion of the .NET Core SDK into Visual Studio. dotnet/installer#2166 Today, the ASP.NET Core runtime is inserted into VS via the .NET Core SDK. As a part of breaking the SDK into smaller pieces, we need to add a new build step to 2.1/2.2 and 3.0 builds which produce the following NuGet packages.

  • AspNetCore.SharedFramework.$(Arch).$(MajorVersion).$(MinorVersion)
    • ID = VS.Redist.Common.AspNetCore.SharedFramework.$(Arch).$(MajorVersion).$(MinorVersion)
    • Contents
      • $pkgRoot/aspnetcore-runtime-$(version)-win-$(Arch).msi
      • $pkgRoot/sfx_$(Arch).cab
    • Versions:
      • 2.1
      • 2.2
      • 3.0
    • Arch
      • x86
      • x64
  • AspNetCore.TargetingPack.$(Arch).$(MajorVersion).$(MinorVersion)
    • ID = VS.Redist.Common.AspNetCore.TargetingPack.$(Arch).$(MajorVersion).$(MinorVersion)
    • Contents
      • $pkgRoot/aspnetcore-targetingpack-$(version)-win-$(Arch).msi
    • Versions:
      • 3.0
    • Arch
      • x86
      • x64

Implementation suggestions

The simplest implementation can use nuget.exe and a .nuspec file to wrap the files in a nupkg. We don't need to code-sign the nupkg or ship it to nuget.org

Example: https://github.com/dotnet/core-sdk/blob/844978f4c2a042abf5fc924729466a4dce3c047d/src/redist/targets/packaging/windows/clisdk/VS.Redist.Common.NetCore.Toolset.nuspec

/cc @mmitche @johnbeisner

Metadata

Metadata

Assignees

Labels

area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions