Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Getting current assembly location returns empty string #5467

@Scellow

Description

@Scellow
            var asm = Assembly.GetExecutingAssembly();
            Console.WriteLine($"Location: {asm.Location}");

Version: 026c934

Output: Location:

Expected (.net core 2.0): Location: C:\Users\Scellow\dev\test\bin\Debug\netcoreapp2.0\test.dll

OS: Win 10 x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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