7 references to CurrentPlatform
dotnet (3)
Commands\Run\CSharpCompilerCommand.cs (2)
297
var apphostTarget = Path.Join(binDir, $"{fileNameWithoutExtension}{FileNameSuffixes.
CurrentPlatform
.Exe}");
301
var apphostSource = Path.Join(SdkPath, "..", "..", "packs", $"Microsoft.NETCore.App.Host.{rid}", RuntimeVersion, "runtimes", rid, "native", $"apphost{FileNameSuffixes.
CurrentPlatform
.Exe}");
Commands\Run\RunCommand.cs (1)
471
var exePath = Path.Join(artifactsPath, "bin", "debug", Path.GetFileNameWithoutExtension(entryPointFileFullPath) + FileNameSuffixes.
CurrentPlatform
.Exe);
dotnet.Tests (1)
crossgen.Tests.cs (1)
63
string dotnetExecutable = $"dotnet{Cli.Utils.FileNameSuffixes.
CurrentPlatform
.Exe}";
Microsoft.DotNet.Cli.Utils (1)
Muxer.cs (1)
44
string muxerPathMaybe = Path.Combine(rootPath, $"{MuxerName}{FileNameSuffixes.
CurrentPlatform
.Exe}");
Microsoft.NET.Build.Tests (2)
GivenThatWeWantToBuildASelfContainedApp.cs (1)
476
outputDirectory.Should().NotHaveFile($"hostfxr{FileNameSuffixes.
CurrentPlatform
.DynamicLib}"); // This file will only appear if SelfContained.
RoslynBuildTaskTests.cs (1)
24
private static string AppHostCompilerFileName(Language language) => CompilerFileNameWithoutExtension(language) + FileNameSuffixes.
CurrentPlatform
.Exe;