SharpGen icon indicating copy to clipboard operation
SharpGen copied to clipboard

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

Open clr2of8 opened this issue 7 years ago • 0 comments

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

clr2of8 avatar Feb 07 '19 21:02 clr2of8