15 references to Constants
Microsoft.DotNet.NativeWrapper (15)
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 (8)
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)] 136[DllImport(Constants.HostFxr, CharSet = UTF16, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 149[DllImport(Constants.HostFxr, CharSet = UTF16, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 166[DllImport(Constants.HostFxr, CharSet = UTF8, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 179[DllImport(Constants.HostFxr, CharSet = UTF8, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]