Skip to content

Large disk size increase in Microsoft.NET.Sdk.Razor folder #30379

@mthalman

Description

@mthalman

Between 6.0 Preview 1 and the current build of Preview 2, the size of the Microsoft.NET.Sdk.Razor folder increased by 180%. In absolute terms, this is an increase of 45 MB. A portion of this increase is due to the addition of the source-generators sub-folder which is understandable.

More concerning is the 100% increase in the tasks sub-folder and the 188% increase in the tools sub-folder. These two folders contain the same amount of files between P1 and P2 but the size of those files has dramatically increased. For example, the Microsoft.CodeAnalysis.CSharp.dll file went from 5.4 MB in P1 to 15.5 MB in P2. That doesn't seem right.

Repro Steps

  1. Download and extract 6.0 Preview 1 SDK
  2. Download and extract 6.0 Preview 2 SDK
  3. Compare folder contents in a tool like Beyond Compare.
  4. Navigate to sdk\[version]\Sdks\Microsoft.NET.Sdk.Razor path to compare contents.

cc @captainsafia

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions