16 references to Constants
Microsoft.DotNet.NativeWrapper (16)
EnvironmentProvider.cs (7)
32_getEnvironmentVariable(Constants.PATH)! 44var commandNameWithExtension = commandName + Constants.ExeSuffix; 54string? environmentOverride = _getEnvironmentVariable(Constants.DOTNET_MSBUILD_SDK_RESOLVER_CLI_DIR); 57log?.Invoke($"GetDotnetExeDirectory: {Constants.DOTNET_MSBUILD_SDK_RESOLVER_CLI_DIR} set to {environmentOverride}"); 68.Equals(Constants.DotNet, StringComparison.InvariantCultureIgnoreCase)) 71string? dotnetExeFromPath = GetCommandPath(Constants.DotNet); 87log?.Invoke($"GetDotnetExeDirectory: Path variable: {_getEnvironmentVariable(Constants.PATH)}");
Interop.cs (9)
19PreloadWindowsLibrary(Constants.HostFxr); 24HostFxrPath = (string)AppContext.GetData(Constants.RuntimeProperty.HostFxrPath)!; 47if (libraryName != Constants.HostFxr) 120[DllImport(Constants.HostFxr, CharSet = CharSet.Auto, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 130[DllImport(Constants.HostFxr, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 142[DllImport(Constants.HostFxr, CharSet = UTF16, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 155[DllImport(Constants.HostFxr, CharSet = UTF16, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 172[DllImport(Constants.HostFxr, CharSet = UTF8, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 185[DllImport(Constants.HostFxr, CharSet = UTF8, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]