예제 #1
0
 public static string GetExecutableArgs(string args)
 {
     if (RuntimeHelper.IsCoreClr())
     {
         args = $"{Path.Combine(GetExeDirectory(), "gitversion.dll")} {args}";
     }
     return(args);
 }
예제 #2
0
 public static string GetExecutable()
 {
     return(RuntimeHelper.IsCoreClr() ? "dotnet" : Path.Combine(GetExeDirectory(), "gitversion.exe"));
 }