Description
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 publish
content or limit what ends up in the DevServer package.
Options include at least:
- List the exact files needed in the package in Microsoft.AspNetCore.Components.WebAssembly.DevServer.nuspec
- Muck w/ an item group like
@(ReferenceCopyLocalPaths)
to remove all@(ExternalAspNetCoreAppReference)
items as well as aspnetcorev2_inprocess.dll in a well-timed target