Skip to content

Adding package results in large file size? #55

Open
@fredrikbaberg

Description

@fredrikbaberg

Hi,
I've just started to look at this as a solution to integrate BabylonJS in a Blazor WebAssembly project.

I noticed the output project from dotnet publish -c Release increases a lot after adding this package, where the main contributor seems to be Microsoft.CodeAnalysis at 84 files in _framework for a total of 20,2 MB.

To recreate:

dotnet new blazorwasm -o TestCodeAnalysis
cd TestCodeAnalysis
dotnet add package EventHorizon.Blazor.TypeScript.Interop.Generator
dotnet publish -c Release

The resulting publish folder increases from 14.8 MB to 41,3 MB.

Is Microsoft.CodeAnalysis required, or is this a bug?

I'm currently on .NET 6 Preview 7, so I haven't verified if this happens on 5.0 or 6 RC1 yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions