196 references to ChangeExtension
blazor-devserver (3)
Server\Program.cs (3)
29var name = Path.ChangeExtension(applicationPath, ".staticwebassets.runtime.json"); 30name = !File.Exists(name) ? Path.ChangeExtension(applicationPath, ".StaticWebAssets.xml") : name; 32var endpointsManifest = Path.ChangeExtension(applicationPath, ".staticwebassets.endpoints.json");
ConfigurationSchemaGenerator (1)
ConfigSchemaGenerator.cs (1)
47var docPath = Path.ChangeExtension(path, "xml");
Crossgen2Tasks (9)
PrepareForReadyToRunCompilation.cs (9)
145outputPDBImage = Path.ChangeExtension(outputR2RImage, "ni.pdb"); 146outputPDBImageRelativePath = Path.ChangeExtension(outputR2RImageRelativePath, "ni.pdb"); 167outputPDBImage = Path.ChangeExtension(outputR2RImage, perfmapExtension); 168outputPDBImageRelativePath = Path.ChangeExtension(outputR2RImageRelativePath, perfmapExtension); 236compositeR2RImageRelativePath = Path.ChangeExtension(compositeR2RImageRelativePath, "r2r" + Path.GetExtension(compositeR2RImageRelativePath)); 251compositePDBImage = Path.ChangeExtension(compositeR2RImage, ".ni.pdb"); 252compositePDBRelativePath = Path.ChangeExtension(compositeR2RImageRelativePath, ".ni.pdb"); 257compositePDBImage = Path.ChangeExtension(compositeR2RImage, perfmapExtension); 258compositePDBRelativePath = Path.ChangeExtension(compositeR2RImageRelativePath, perfmapExtension);
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
443commandLineArgs = RuntimeHostInfo.GetDotNetExecCommandLine(Path.ChangeExtension(processFilePath, ".dll"), commandLineArgs);
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
622var keyPath = Path.ChangeExtension(path, ".key");
dotnet-getdocument (2)
Commands\InvokeCommand.cs (2)
91args.Add(Path.ChangeExtension(assemblyPath, ".deps.json")); 109var runtimeConfigPath = Path.ChangeExtension(assemblyPath, ".runtimeconfig.json");
dotnet-razorpagegenerator (1)
Program.cs (1)
134var generatedCodeFilePath = Path.ChangeExtension(projectItem.PhysicalPath, ".Designer.cs");
dotnet-svcutil-lib (1)
Shared\MSBuildProj.cs (1)
898targetLib = $"{Path.ChangeExtension(this.FileName, ".dll")}";
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
961deploymentParameters.EnvironmentVariables["ANCM_LAUNCHER_ARGS"] = Path.ChangeExtension(Path.Combine(publishedApp.Path, deploymentParameters.ApplicationPublisher.ApplicationPath), ".dll");
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
961deploymentParameters.EnvironmentVariables["ANCM_LAUNCHER_ARGS"] = Path.ChangeExtension(Path.Combine(publishedApp.Path, deploymentParameters.ApplicationPublisher.ApplicationPath), ".dll");
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
961deploymentParameters.EnvironmentVariables["ANCM_LAUNCHER_ARGS"] = Path.ChangeExtension(Path.Combine(publishedApp.Path, deploymentParameters.ApplicationPublisher.ApplicationPath), ".dll");
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
961deploymentParameters.EnvironmentVariables["ANCM_LAUNCHER_ARGS"] = Path.ChangeExtension(Path.Combine(publishedApp.Path, deploymentParameters.ApplicationPublisher.ApplicationPath), ".dll");
illink (3)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
622var keyPath = Path.ChangeExtension(path, ".key");
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (2)
CertificateManagerTests.cs (2)
185var exportedCertificate = X509Certificate2.CreateFromEncryptedPemFile(CertificateName, certificatePassword, Path.ChangeExtension(CertificateName, "key")); 347var exportedCertificate = X509Certificate2.CreateFromPemFile(CertificateName, Path.ChangeExtension(CertificateName, "key"));
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
120var symbolsName = Path.ChangeExtension(assemblyName, "pdb");
ValidationsGenerator\ValidationsGeneratorTestBase.cs (1)
115var symbolsName = Path.ChangeExtension(assemblyName, "pdb");
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
120var symbolsName = Path.ChangeExtension(assemblyName, "pdb");
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
622var keyPath = Path.ChangeExtension(path, ".key");
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
KestrelConfigurationLoaderTests.cs (1)
702var certificate = new X509Certificate2(TestResources.GetCertPath(Path.ChangeExtension(certificateFile, "crt")));
Microsoft.Build (1)
Logging\BinaryLogger\ProjectImportsCollector.cs (1)
52=> Path.ChangeExtension(logFilePath, sourcesArchiveExtension);
Microsoft.Build.Engine.UnitTests (2)
BinaryLogger_Tests.cs (2)
458var projectImportsZipPath = Path.ChangeExtension(_logFile, ".ProjectImports.zip"); 518var projectImportsZipPath = Path.ChangeExtension(_logFile, ".ProjectImports.zip");
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Shared\BuildServerConnection.cs (1)
443commandLineArgs = RuntimeHostInfo.GetDotNetExecCommandLine(Path.ChangeExtension(processFilePath, ".dll"), commandLineArgs);
Vbc.cs (1)
303string actualPdb = Path.ChangeExtension(outputAssembly, ".pdb"); // This is the pdb that the compiler generated
Microsoft.Build.Tasks.Core (4)
CreateManifestResourceName.cs (1)
177string conventionDependentUpon = Path.ChangeExtension(Path.GetFileName(fileName), SourceFileExtension);
GenerateResource.cs (1)
3498return Path.ChangeExtension(outputResourcesFile, provider.FileExtension);
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (2)
40() => Path.Combine(pathToBuildTools, "Roslyn", "bincore", Path.ChangeExtension(ToolName, ".dll")), 42() => Path.Combine(pathToBuildTools, "Roslyn", Path.ChangeExtension(ToolName, ".dll")),
Microsoft.Build.Tasks.UnitTests (60)
CodeTaskFactoryEmbeddedFileInBinlogTestHelper.cs (2)
65string projectImportsZipPath = Path.ChangeExtension(binlog.Path, ".ProjectImports.zip"); 117string projectImportsZipPath = Path.ChangeExtension(binlog.Path, ".ProjectImports.zip");
ResourceHandling\GenerateResource_Tests.cs (58)
112string expectedOutFile0 = Path.Combine(Path.GetTempPath(), Path.ChangeExtension(resxFile0, ".resources")); 246t.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(resourcesFile, ".resx")) }; 253t2a.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(resourcesFile, ".txt")) }; 296string outputFile = Path.ChangeExtension(resourcesFile, ".txt"); 528string outputResource = Path.ChangeExtension(Path.GetFullPath(resxFile), ".resources"); 798resourcesFile1 = Path.ChangeExtension(resxFile, ".resources"); 799resourcesFile2 = Path.ChangeExtension(txtFile, ".resources"); 1034t.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(textFile, ".resx")) }; 1067t.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(resourcesFile, ".resx")) }; 1074t2a.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(t.FilesWritten[0].ItemSpec, ".resources")) }; 1174string stronglyTypedFileName = Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs"); 1238string stronglyTypedFileName = Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs"); 1271Assert.Equal(t2.FilesWritten[2].ItemSpec, Path.ChangeExtension(t2.Sources[0].ItemSpec, ".cs")); 1309strFile = Path.ChangeExtension(resourcesFile, ".cs"); // STR filename should be generated from output not input filename 1474string stronglyTypedFileName = Path.ChangeExtension(t.Sources[0].ItemSpec, ".vb"); 1541string STRfile = Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs"); 1599string STRfile = Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs"); 1763resourcesFile1 = Path.ChangeExtension(resxFile1, ".resources"); 1764resourcesFile2 = Path.ChangeExtension(resxFile2, ".resources"); 1840resourcesFile1 = Path.ChangeExtension(resxFile1, ".resources"); 1841resourcesFile2 = Path.ChangeExtension(resxFile2, ".resources"); 1939t.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(resxFile, ".txt")) }; 2049string resourcesFile = Path.ChangeExtension(resxFile, ".resources"); 2100string resourcesFile = Path.ChangeExtension(textFile, ".resources"); 2140string resourcesFile = Path.ChangeExtension(txtFile, ".resources"); 2231string resourcesFile = Path.ChangeExtension(resxFile, ".resources"); 2265string outputFile = Path.ChangeExtension(t.Sources[i].ItemSpec, ".resources"); 2342File.Delete(Path.ChangeExtension(taskItem.ItemSpec, ".resources")); 2351string outputFile = Path.ChangeExtension(t.Sources[0].ItemSpec, ".resources"); 2354outputFile = Path.ChangeExtension(t.Sources[1].ItemSpec, ".resources"); 2358outputFile = Path.ChangeExtension(t.Sources[2].ItemSpec, ".resources"); 2361outputFile = Path.ChangeExtension(t.Sources[3].ItemSpec, ".resources"); 2366Assert.Equal(t.FilesWritten[0].ItemSpec, Path.ChangeExtension(t.Sources[0].ItemSpec, ".resources")); 2367Assert.Equal(t.FilesWritten[1].ItemSpec, Path.ChangeExtension(t.Sources[1].ItemSpec, ".resources")); 2379Assert.Equal(t.FilesWritten[2].ItemSpec, Path.ChangeExtension(t.Sources[3].ItemSpec, ".resources")); 2464File.Delete(Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs")); 2473Assert.Equal(t.StronglyTypedFileName, Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs")); 2557File.Delete(Path.ChangeExtension(textFile, ".resources")); 2575resourcesFile = Path.ChangeExtension(txtFile, ".resources"); 2651string newTextFile = Path.ChangeExtension(textFile, ".foo"); 2684string resxFile = Path.ChangeExtension(textFile, ".foo"); 2716string resxFile = Path.ChangeExtension(textFile, ".resources"); 2811File.Delete(Path.ChangeExtension(resxFile, ".resources")); 2816File.Delete(Path.ChangeExtension(resxFile2, ".resources")); 2873string resourcesFile = Path.ChangeExtension(txtFile, ".resources"); 2910string resourcesFile = Path.ChangeExtension(txtFile, ".resources"); 2947string resourcesFile = Path.ChangeExtension(txtFile, ".resources"); 2986resourcesFile = Path.ChangeExtension(txtFile, ".resources"); 2988string csFile = Path.ChangeExtension(txtFile, ".cs"); 3409string resourcesFile = Path.ChangeExtension(resxFile, ".resources"); 3445resourcesFile = Path.ChangeExtension(resxFile, ".resources"); 3484File.Delete(Path.ChangeExtension(resxFile, ".cs")); 3488resourcesFile = Path.ChangeExtension(resxFile, ".resources"); 3531resourcesFile = Path.ChangeExtension(resxFile, ".myresources"); 3534string resourcesFile1 = Path.ChangeExtension(resxFile1, ".myresources"); 4185string filename = Path.ChangeExtension(f, extension); 4254Assert.Equal(Path.ChangeExtension(t.Sources[0].ItemSpec, codeFileExtension), t.StronglyTypedFileName); 4261string STRFile = Path.ChangeExtension(textFile, codeFileExtension);
Microsoft.CodeAnalysis (5)
CommandLine\CommandLineArguments.cs (1)
354return PdbPath ?? Path.Combine(OutputDirectory, Path.ChangeExtension(outputFileName, ".pdb"));
CommandLine\CommandLineParser.cs (1)
458pdbPath = Path.ChangeExtension(Path.Combine(outputDirectory, outputFileName), ".pdb");
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
134var analyzerFileName = Path.ChangeExtension(simpleName, ".dll");
DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
308var satelliteAssemblyName = Path.ChangeExtension(assemblyFileName, ".resources.dll");
InternalUtilities\FileNameUtilities.cs (1)
134/// Equivalent of <see cref="System.IO.Path.ChangeExtension(string, string)"/>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\InternalUtilities\FileNameUtilities.cs (1)
134/// Equivalent of <see cref="System.IO.Path.ChangeExtension(string, string)"/>
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCompiler.cs (1)
263return Path.ChangeExtension(entryPointFileName, ".exe");
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (3)
72var runtimeConfigPath = Path.ChangeExtension(Assembly.GetExecutingAssembly().Location, "runtimeconfig.json"); 9014var pdbPath = Path.ChangeExtension(exePath, "pdb"); 9114string pdbPath = Path.ChangeExtension(exePath, ".pdb");
TouchedFileLoggingTests.cs (4)
49Path.ChangeExtension(hello, "exe"), 94Path.ChangeExtension(hello, "exe"), 127Path.ChangeExtension(hello, "exe"), 169Path.ChangeExtension(sourcePath, "dll"),
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
UnusedReferences\ProjectAssets\ProjectAssetsReaderTests.cs (1)
69=> new(ReferenceType.Project, projectPath, treatAsUsed, [Path.ChangeExtension(projectPath, "dll")], [.. dependencies]);
UnusedReferences\ProjectAssets\TestProjectAssetsFile.cs (1)
68Compile = new Dictionary<string, ProjectAssetsTargetLibraryCompile>() { { Path.ChangeExtension(reference.ItemSpecification, "dll"), new ProjectAssetsTargetLibraryCompile() } },
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Rename\RenameTestHelpers.vb (1)
86Dim expectedName = Path.ChangeExtension(newIdentifierName, Path.GetExtension(document.Name))
Microsoft.CodeAnalysis.Features (1)
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
386=> new FileInfo(Path.ChangeExtension(databaseFileInfo.FullName, ".bin"));
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Compilers\Core\Portable\InternalUtilities\FileNameUtilities.cs (1)
134/// Equivalent of <see cref="System.IO.Path.ChangeExtension(string, string)"/>
Microsoft.CodeAnalysis.Rebuild.UnitTests (6)
RebuildCommandLineTests.cs (6)
60PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "dll"), 65PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "netmodule"), 70PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "dll"), 79PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "exe"), 84PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "exe"), 89PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "exe"),
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (1)
588docFileName = Path.ChangeExtension(assemblyFileName, ".xml");
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\IlasmUtilities.cs (2)
84Path.ChangeExtension(Path.GetFileName(sourceFile.Path), "dll")); 115pdbPath = Path.ChangeExtension(assemblyPath, "pdb");
Microsoft.CodeAnalysis.UnitTests (2)
AnalyzerAssemblyLoaderTests.cs (1)
456var assemblyFileName = Path.ChangeExtension(Path.GetFileNameWithoutExtension(originalSatelliteFullPath), ".dll");
FileUtilitiesTests.cs (1)
221Assert.Equal(expected, Path.ChangeExtension(path, extension));
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (4)
CommandLineTests.vb (1)
9601Dim pdbPath = Path.ChangeExtension(exePath, "pdb")
TouchedFileLoggingTests.vb (3)
47Path.ChangeExtension(hello, "exe"), 79Path.ChangeExtension(hello, "exe"), 121Path.ChangeExtension(sourcePath, "dll"),
Microsoft.CodeAnalysis.Workspaces (4)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
134var analyzerFileName = Path.ChangeExtension(simpleName, ".dll");
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
308var satelliteAssemblyName = Path.ChangeExtension(assemblyFileName, ".resources.dll");
src\Compilers\Core\Portable\InternalUtilities\FileNameUtilities.cs (1)
134/// Equivalent of <see cref="System.IO.Path.ChangeExtension(string, string)"/>
Workspace\Host\Documentation\DocumentationProviderServiceFactory.cs (1)
37assemblyPath = Path.ChangeExtension(assemblyPath, "xml");
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\FileNameUtilities.cs (1)
134/// Equivalent of <see cref="System.IO.Path.ChangeExtension(string, string)"/>
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
NetCoreTests.cs (1)
553var depsJsonFile = Path.ChangeExtension(BuildHostProcessManager.GetNetCoreBuildHostPath(), "deps.json");
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
UtilityTest\XmlDocumentationProviderTests.cs (1)
20var roslynCompilersXmlFilePath = Path.ChangeExtension(roslynCompilersLocation, ".xml");
Microsoft.DotNet.Build.Tasks.Packaging (5)
GetApplicableAssetsFromPackages.cs (3)
207string pdbPath = Path.ChangeExtension(packageItem.SourcePath, ".pdb"); 210var pdbItem = new TaskItem(Path.ChangeExtension(packageItem.OriginalItem.ItemSpec, ".pdb")); 216pdbItem.SetMetadata("TargetPath", Path.ChangeExtension(packageItem.TargetPath, ".pdb"));
GetLayoutFiles.cs (1)
137var symbolSource = Path.ChangeExtension(source, symbolExtension);
HarvestPackage.cs (1)
406if (livePackageFiles.TryGetValue(Path.ChangeExtension(livePackagePath, ".pdb"), out livePdbFile))
Microsoft.DotNet.Build.Tasks.Workloads (1)
Msi\MsiProperties.wix.cs (1)
115string msiJsonPath = Path.ChangeExtension(path, ".json");
Microsoft.DotNet.Internal.SymbolHelper (2)
SymbolUploadHelper.cs (2)
368string pePath = Path.ChangeExtension(file, ".dll"); 372pePath = Path.ChangeExtension(file, ".exe");
Microsoft.DotNet.RemoteExecutor (1)
RemoteExecutor.cs (1)
533string devConfigFile = System.IO.Path.ChangeExtension(configFile, "dev.json");
Microsoft.DotNet.XliffTasks (1)
Tasks\GatherTranslatedSource.cs (1)
101logicalName = Path.ChangeExtension(logicalName, $".{language}{logicalExtension}");
Microsoft.Extensions.DependencyModel (2)
DependencyContextLoader.cs (2)
136string depsJsonFile = Path.ChangeExtension(assemblyLocation, DepsJsonExtension); 147depsJsonFile = Path.ChangeExtension(assemblyCodeBase, DepsJsonExtension);
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
GeneratorTests.cs (1)
80var goldenFileName = Path.ChangeExtension(stem, ".json");
Microsoft.Gen.MetricsReports.Unit.Tests (1)
GeneratorTests.cs (1)
45var goldenFileName = Path.ChangeExtension(stem, ".json");
Microsoft.Maui.Resizetizer (2)
Resizer.cs (2)
41 destination = Path.ChangeExtension(destination, RasterFileExtension); 100 destination = Path.ChangeExtension(destination, RasterFileExtension);
Microsoft.ML.CodeAnalyzer.Tests (1)
Helpers\AdditionalMetadataReferences.cs (1)
32var documentationProvider = XmlDocumentationProvider.CreateFromFile(Path.ChangeExtension(location, ".pdb"));
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1184var mlModelLocation = DeleteOutputPath(Path.ChangeExtension(modelLocation, ".zip"));
Microsoft.ML.Tokenizers.Data.Tests (1)
test\Microsoft.ML.Tokenizers.Tests\Utils.cs (1)
53Path.Combine(Path.GetTempPath(), Path.ChangeExtension(Guid.NewGuid().ToString(), extension));
Microsoft.ML.Tokenizers.Tests (1)
Utils.cs (1)
53Path.Combine(Path.GetTempPath(), Path.ChangeExtension(Guid.NewGuid().ToString(), extension));
Microsoft.VisualStudio.LanguageServices (1)
MoveStaticMembers\VisualStudioMoveStaticMembersOptionsService.cs (1)
65var newFileName = Path.ChangeExtension(typeName, language == LanguageNames.CSharp ? ".cs" : ".vb");
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
ProjectSystemShim\VisualStudioProjectTests\AnalyzerReferenceTests.vb (1)
322Return Path.ChangeExtension(fullPath, ".redirected.dll")
MSBuild (1)
MSBuildLoadContext.cs (1)
43_resolver = File.Exists(assemblyPath) && File.Exists(Path.ChangeExtension(assemblyPath, ".deps.json"))
PresentationBuildTasks (8)
Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (4)
712string buildCodeFile = OutputPath + Path.ChangeExtension(relativeFilePath, buildExtension); 713string intelCodeFile = OutputPath + Path.ChangeExtension(relativeFilePath, intellisenseExtension); 721bamlFile = OutputPath + Path.ChangeExtension(relativeFilePath, SharedStrings.BamlExtension); 1672locFile = Path.ChangeExtension(xamlRelativeFilePath, SharedStrings.LocExtension);
Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (1)
774string bamlFileName = Path.ChangeExtension(resolvedXamlfile, SharedStrings.BamlExtension);
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
397path = Path.ChangeExtension(path, SharedStrings.BamlExtension);
Microsoft\Build\Tasks\Windows\UidManager.cs (2)
358return Path.Combine(_backupPath, Path.ChangeExtension(Path.GetFileName(fileName), "uidtemp")); 363return Path.Combine(_backupPath, Path.ChangeExtension(Path.GetFileName(fileName), "uidbackup"));
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\IO\FileHelper.cs (1)
118path = Path.ChangeExtension(path, extension);
PresentationFramework (1)
MS\Internal\AppModel\ResourcePart.cs (1)
124string newName = Path.ChangeExtension(_name, ResourceContainer.BamlExt);
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
443commandLineArgs = RuntimeHostInfo.GetDotNetExecCommandLine(Path.ChangeExtension(processFilePath, ".dll"), commandLineArgs);
Roslyn.VisualStudio.Next.UnitTests (1)
Remote\SnapshotSerializationTests.cs (1)
567var tempCorlibXml = tempDir.CreateFile(Path.ChangeExtension(tempCorlib.Path, "xml"));
System.Configuration.ConfigurationManager (1)
System\Configuration\ClientConfigPaths.cs (1)
116Path.ChangeExtension(ApplicationUri, ".dll") : ApplicationUri + ".dll";
System.Windows.Forms.Design (1)
System\Drawing\BitmapSelector.cs (1)
37=> string.IsNullOrEmpty(Suffix) ? filePath : Path.ChangeExtension(filePath, Suffix + Path.GetExtension(filePath));
Templates.Blazor.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
61process = Path.ChangeExtension(dllPath, OperatingSystem.IsWindows() ? ".exe" : null);
src\Shared\CertificateGeneration\CertificateManager.cs (1)
622var keyPath = Path.ChangeExtension(path, ".key");
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
61process = Path.ChangeExtension(dllPath, OperatingSystem.IsWindows() ? ".exe" : null);
src\Shared\CertificateGeneration\CertificateManager.cs (1)
622var keyPath = Path.ChangeExtension(path, ".key");
Templates.Blazor.WebAssembly.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
61process = Path.ChangeExtension(dllPath, OperatingSystem.IsWindows() ? ".exe" : null);
src\Shared\CertificateGeneration\CertificateManager.cs (1)
622var keyPath = Path.ChangeExtension(path, ".key");
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
61process = Path.ChangeExtension(dllPath, OperatingSystem.IsWindows() ? ".exe" : null);
src\Shared\CertificateGeneration\CertificateManager.cs (1)
622var keyPath = Path.ChangeExtension(path, ".key");
Templates.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
61process = Path.ChangeExtension(dllPath, OperatingSystem.IsWindows() ? ".exe" : null);
src\Shared\CertificateGeneration\CertificateManager.cs (1)
622var keyPath = Path.ChangeExtension(path, ".key");
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
443commandLineArgs = RuntimeHostInfo.GetDotNetExecCommandLine(Path.ChangeExtension(processFilePath, ".dll"), commandLineArgs);
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
443commandLineArgs = RuntimeHostInfo.GetDotNetExecCommandLine(Path.ChangeExtension(processFilePath, ".dll"), commandLineArgs);
VBCSCompiler.UnitTests (2)
TouchedFileLoggingTests.cs (2)
77Path.ChangeExtension(source1, "exe"), 128Path.ChangeExtension(source1, "exe"),
xunit.console (1)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextLoader.cs (1)
116var depsJsonFile = Path.ChangeExtension(assembly.Location, DepsJsonExtension);