Пример #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"));
 }