cobbr / cobbr/SharpGen

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

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
301
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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'.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.