public FilePath GetRuntimePath(DnxFramework framework) { string runtime = framework.GetDnxRuntime(); string modifiedFileName = Path.FileName.Replace("-clr-", "-" + runtime + "-"); return(Path.ParentDirectory.Combine(modifiedFileName)); }
public static bool IsCoreClr(this DnxFramework framework) { return(framework.GetDnxRuntime() == "coreclr"); }