Skip to content

Some .c and .h files are being published for non-blazorwasm apps #48016

Closed
@eerhardt

Description

@eerhardt
  1. Install the latest https://github.com/dotnet/installer#installers-and-binaries
  2. dotnet new blazorwasm
  3. dotnet publish -c Release

Expected Results

Only the files necessary to load the blazor app are in the publish folder

Actual Results

There are 3 .c files and 2 .h files in bin\Release\net6.0\publish\wwwroot\_framework:

  • corebindings.c
  • driver.c
  • pinvoke.c
  • pinvoke.h
  • pinvoke-table.h

image

These files shouldn't be published to the output folder.

cc @lewing @CoffeeFlux

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions