16 references to FileNameSuffixes
dotnet (11)
CommandFactory\CommandResolution\AppBaseDllCommandResolver.cs (1)
19if (commandResolverArguments.CommandName.EndsWith(FileNameSuffixes.DotNet.DynamicLib))
CommandFactory\CommandResolution\PackagedCommandSpecFactory.cs (1)
101if (commandExtension == FileNameSuffixes.DotNet.DynamicLib)
CommandFactory\CommandResolution\PackagedCommandSpecFactoryWithCliRuntime.cs (1)
20var runtimeConfigFile = Path.ChangeExtension(commandPath, FileNameSuffixes.RuntimeConfigJson);
CommandFactory\CommandResolution\ProjectDependenciesCommandResolver.cs (1)
162allowedCommandExtensions.Add(FileNameSuffixes.DotNet.DynamicLib);
CommandFactory\CommandResolution\ProjectToolsCommandResolver.cs (2)
21private readonly List<string> _allowedCommandExtensions = [FileNameSuffixes.DotNet.DynamicLib]; 288toolLibrary.Name + FileNameSuffixes.DepsJson);
CommandFactory\CommandResolution\PublishPathCommandSpecFactory.cs (1)
33if (commandExtension == FileNameSuffixes.DotNet.DynamicLib)
Commands\Run\CSharpCompilerCommand.cs (3)
297var apphostTarget = Path.Join(binDir, $"{fileNameWithoutExtension}{FileNameSuffixes.CurrentPlatform.Exe}"); 301var apphostSource = Path.Join(SdkPath, "..", "..", "packs", $"Microsoft.NETCore.App.Host.{rid}", RuntimeVersion, "runtimes", rid, "native", $"apphost{FileNameSuffixes.CurrentPlatform.Exe}"); 309var runtimeConfig = Path.Join(binDir, $"{fileNameWithoutExtension}{FileNameSuffixes.RuntimeConfigJson}");
Commands\Run\RunCommand.cs (1)
471var exePath = Path.Join(artifactsPath, "bin", "debug", Path.GetFileNameWithoutExtension(entryPointFileFullPath) + FileNameSuffixes.CurrentPlatform.Exe);
dotnet.Tests (2)
CommandFactoryTests\GivenAProjectToolsCommandResolver.cs (1)
246.FirstOrDefault(p => Path.GetFileName(p).EndsWith(FileNameSuffixes.DepsJson));
crossgen.Tests.cs (1)
63string dotnetExecutable = $"dotnet{Cli.Utils.FileNameSuffixes.CurrentPlatform.Exe}";
Microsoft.DotNet.Cli.Utils (1)
Muxer.cs (1)
44string muxerPathMaybe = Path.Combine(rootPath, $"{MuxerName}{FileNameSuffixes.CurrentPlatform.Exe}");
Microsoft.NET.Build.Tests (2)
GivenThatWeWantToBuildASelfContainedApp.cs (1)
476outputDirectory.Should().NotHaveFile($"hostfxr{FileNameSuffixes.CurrentPlatform.DynamicLib}"); // This file will only appear if SelfContained.
RoslynBuildTaskTests.cs (1)
24private static string AppHostCompilerFileName(Language language) => CompilerFileNameWithoutExtension(language) + FileNameSuffixes.CurrentPlatform.Exe;