Skip to content

C++/CLI assemblies are not eligible for crossgen2 #83942

Description

@szilvaa-adsk

Description

Our application that uses large C++/CLI assemblies starts slower than it did on .net framework 4.8. Profiling shows a lot of JIT activity but Crossgen2 reports

Error: Error: managed C++ is not supported: <dll name>

Configuration

x64 windows.

Regression?

Yes. NGEN on .net framework used to work for C++/CLI assemblies.

Data

According to PerfView results ~20% of startup is spent in JIT.

Analysis

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions