FilePath GetDnxRuntimePath() { if (!HasTargetFramework()) { return(DnxRuntime.Path); } return(DnxRuntime.GetRuntimePath(DnxExecutionTarget.Framework)); }
string GetDnxRuntimePath() { if (DnxExecutionTarget == null || DnxExecutionTarget.Framework == null) { return(DnxRuntime.Path); } return(DnxRuntime.GetRuntimePath(DnxExecutionTarget.Framework)); }
public DnxProjectExecutionCommand(string directory, DnxRuntime runtime) { WorkingDirectory = directory; DnxRuntime = runtime; }