private static string GetRuntime() { var currentRuntime = RuntimeInformation.GetDotNetCliRuntimeIdentifier(); if (!string.IsNullOrEmpty(currentRuntime)) { return($"\"runtimes\": {{ \"{currentRuntime}\": {{ }} }},"); } return(string.Empty); }
private static string GetRuntime() { var currentRuntime = RuntimeInformation.GetDotNetCliRuntimeIdentifier(); if (!string.IsNullOrEmpty(currentRuntime)) { return($"\"runtimes\": {{ \"{currentRuntime}\": {{ }} }},"); } return(string.Empty); }