Skip to content

Application goes to break mode and pops up an exception when stop running application #69001

@Cassie-Li01

Description

@Cassie-Li01

Description

System.TypeLoadException: 'Could not load type 'System.Runtime.InteropServices.AnsiStringMarshaller' from assembly 'System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.'

Reproduction Steps

  1. Create a .Net 7.0 application
  2. Run the application and stop it

Expected behavior

Stop application normally

Actual behavior

Application goes to break mode and pops up an exception
image
Repro

Regression?

Yes, it is a regression issue, cannot repro in .Net 7.0.100-preview.5.22255.6

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions