From b019f4e53d3850d6d5f82ac9c37ff2bfbae3092f Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Fri, 10 Mar 2017 17:35:17 -0600 Subject: [PATCH] Remove unused constants. These strings were used in the project.json days, but are no longer used. --- src/Microsoft.DotNet.Cli.Utils/Constants.cs | 31 --------------------- 1 file changed, 31 deletions(-) diff --git a/src/Microsoft.DotNet.Cli.Utils/Constants.cs b/src/Microsoft.DotNet.Cli.Utils/Constants.cs index b5d5914f6..187a451d2 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Constants.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Constants.cs @@ -12,41 +12,10 @@ namespace Microsoft.DotNet.Cli.Utils public static readonly string ProjectFileName = "project.json"; public static readonly string ExeSuffix = CurrentPlatform == Platform.Windows ? ".exe" : string.Empty; - public static readonly string ConfigSuffix = ".config"; - - // Priority order of runnable suffixes to look for and run - public static readonly string[] RunnableSuffixes = CurrentPlatform == Platform.Windows - ? new string[] { ".exe", ".cmd", ".bat" } - : new string[] { string.Empty }; public static readonly string BinDirectoryName = "bin"; public static readonly string ObjDirectoryName = "obj"; - public static readonly string DynamicLibSuffix = CurrentPlatform == Platform.Windows ? ".dll" : - CurrentPlatform == Platform.Darwin ? ".dylib" : ".so"; - - public static readonly string LibCoreClrFileName = (CurrentPlatform == Platform.Windows ? "coreclr" : "libcoreclr"); - public static readonly string LibCoreClrName = LibCoreClrFileName + DynamicLibSuffix; - - public static readonly string StaticLibSuffix = CurrentPlatform == Platform.Windows ? ".lib" : ".a"; - - public static readonly string ResponseFileSuffix = ".rsp"; - - public static readonly string PublishedHostExecutableName = "dotnet"; - public static readonly string HostExecutableName = "corehost" + ExeSuffix; - public static readonly string[] HostBinaryNames = new string[] { - HostExecutableName, - (CurrentPlatform == Platform.Windows ? "hostpolicy" : "libhostpolicy") + DynamicLibSuffix, - (CurrentPlatform == Platform.Windows ? "hostfxr" : "libhostfxr") + DynamicLibSuffix - }; - - public static readonly string[] LibCoreClrBinaryNames = new string[] - { - "coreclr.dll", - "libcoreclr.so", - "libcoreclr.dylib" - }; - public static readonly string MSBUILD_EXE_PATH = "MSBUILD_EXE_PATH"; public static readonly string MSBuildExtensionsPath = "MSBuildExtensionsPath";