-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Trim dotnet-watch and Microsoft.AspNetCore.Components.WebAssembly.DevServer package content #26448
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
Pillar: Technical Debtaffected-mostThis issue impacts most of the customersThis issue impacts most of the customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-toolingBlazor specific tooling requestsBlazor specific tooling requestsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssemblyseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool
Milestone
Metadata
Metadata
Assignees
Labels
Pillar: Technical Debtaffected-mostThis issue impacts most of the customersThis issue impacts most of the customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-toolingBlazor specific tooling requestsBlazor specific tooling requestsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssemblyseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.
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
publishcontent or limit what ends up in the DevServer package.Options include at least:
@(ReferenceCopyLocalPaths)to remove all@(ExternalAspNetCoreAppReference)items as well as aspnetcorev2_inprocess.dll in a well-timed target