Skip to content

Could not find a part of the path to resources.yml #4

@clr2of8

Description

@clr2of8

This logic in Common.cs does not work well when the user has "bin" in their username or more precisely has the letters "bin" anywhere in the path that the execution is occurring from.
public static string SharpGenDirectory = SplitFirst(SplitFirst(Assembly.GetExecutingAssembly().Location, "bin"), "SharpGen.dll");

Here is an example of the error received when my path had "cbin" in it:
Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\cReferences\references.yml'.

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