Skip to content

Unpackaged sample in README is not correct #11

@Scighost

Description

@Scighost

CurrentDirectory may not be where the assembly locates.

// Initialize a "Strings" folder in the executables folder.
- StringsFolderPath StringsFolderPath = Path.Combine(Directory.GetCurrentDirectory(), "Strings");
+ StringsFolderPath StringsFolderPath = Path.Combine(AppContext.BaseDirectory, "Strings");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions