dotnet-installer/src/Microsoft.DotNet.Cli.Utils/Constants.cs

22 lines
874 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
2015-10-16 22:30:28 +00:00
using System.Runtime.InteropServices;
namespace Microsoft.DotNet.Cli.Utils
{
internal static class Constants
{
// TODO: On Unix, exe suffix is empty string...
2015-10-16 22:30:28 +00:00
public static readonly string ExeSuffix = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".exe" : "";
public static readonly string CoreConsoleName = "coreconsole" + ExeSuffix;
2015-10-16 22:30:28 +00:00
public static readonly string CoreRunName = "corerun" + ExeSuffix;
public static readonly string DefaultConfiguration = "Debug";
2015-10-15 19:56:07 +00:00
public static readonly string BinDirectoryName = "bin";
public static readonly string HostsPathEnvironmentVariable = "DOTNET_CLR_HOSTS_PATH";
2015-10-16 22:30:28 +00:00
public static readonly string CSCPathEnvironmentVariable = "DOTNET_CSC_PATH";
}
}