Skip to content

Module.FullyQualifiedName throws in single-file app #40103

@vitek-karas

Description

@vitek-karas

On non-single file apps Module.FullyQualifiedName returns absolute path to the file of the module (which is basically always the assembly file). If the module is an in-memory module (so loaded from stream), it returns <Unknown> string.

In single-file if the module is one of the assemblies which are bundled it will throw from this property.

I think we should make it behave the same as it does for in-memory modules - so return <Unknown> for bundled assemblies.

The same applies to Module.Name (which is implemented by calling Module.FullyQualifiedName internally) - we need to test it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions