Skip to content

Add APIs to clear static caches #3093

@cdmihai

Description

@cdmihai

MSBuild API users doing a large number of evaluations / builds might need to do other non-msbuild related expensive work after they're done with msbuild. However, since MSBuild has a bunch of static caches (e.g. OpportunisticIntern) there's no easy way to clear these. Some users clear them via reflection. We could add static methods to ProjectCollection and BuildManager to clear these.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions