Skip to content

Trim dotnet-watch and Microsoft.AspNetCore.Components.WebAssembly.DevServer package content #26448

Closed as not planned
@dougbu

Description

@dougbu

The following image shows the content of the 5.0.0-rtm.20479.12 version of the Microsoft.AspNetCore.Components.WebAssembly.DevServer package. This includes shared framework assemblies such as Microsoft.Extensions.Configuration.Abstractions.dll. They're present because they're brought in transitively though Microsoft.AspNetCore.Components.WebAssembly.Server and published along with the content we really want.

image

Bottom line here is #24816 changes to Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj didn't have the expected outcome. Further I need to revert those changes in #24983 because they cause conflicts between 5.0 AspNetCore assemblies in the SDK and 6.0 assemblies Microsoft.AspNetCore.Components.WebAssembly.Server.csproj references. Need another way to either clean up the publish content or limit what ends up in the DevServer package.

Options include at least:

  1. List the exact files needed in the package in Microsoft.AspNetCore.Components.WebAssembly.DevServer.nuspec
  2. Muck w/ an item group like @(ReferenceCopyLocalPaths) to remove all @(ExternalAspNetCoreAppReference) items as well as aspnetcorev2_inprocess.dll in a well-timed target

Metadata

Metadata

Assignees

Labels

Pillar: Technical Debtaffected-mostThis issue impacts most of the customersarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-toolingBlazor specific tooling requestsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyseverity-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