688 references to FullName
aspire (24)
DotNetCliRunner.cs (9)
49string[] cliArgs = ["msbuild", "-getproperty:IsAspireHost,AspireHostingSDKVersion", projectFile.FullName]; 111projectFile.FullName 172string[] cliArgs = [watchOrRunCommand, noBuildSwitch, noProfileSwitch, "--project", projectFile.FullName, "--", ..args]; 357WorkingDirectory = workingDirectory.FullName, 548string[] cliArgs = ["build", projectFilePath.FullName]; 563projectFilePath.FullName, 570logger.LogInformation("Adding package {PackageName} with version {PackageVersion} to project {ProjectFilePath}", packageName, packageVersion, projectFilePath.FullName); 582logger.LogError("Failed to add package {PackageName} with version {PackageVersion} to project {ProjectFilePath}. See debug logs for more details.", packageName, packageVersion, projectFilePath.FullName); 586logger.LogInformation("Package {PackageName} with version {PackageVersion} added to project {ProjectFilePath}", packageName, packageVersion, projectFilePath.FullName);
Program.cs (2)
44var settingsFilePath = Path.Combine(currentDirectory.FullName, ".aspire", "settings.json"); 63builder.Configuration.AddJsonFile(settingsFile.FullName);
Projects\ProjectLocator.cs (13)
25logger.LogDebug("Searching for project files in {SearchDirectory}", searchDirectory.FullName); 32logger.LogDebug("Found {ProjectFileCount} project files in {SearchDirectory}", projectFiles.Length, searchDirectory.FullName); 36logger.LogDebug("Checking project file {ProjectFile}", projectFile.FullName); 41logger.LogDebug("Found AppHost project file {ProjectFile} in {SearchDirectory}", projectFile.FullName, searchDirectory.FullName); 46logger.LogTrace("Project file {ProjectFile} in {SearchDirectory} is not an Aspire host", projectFile.FullName, searchDirectory.FullName); 69var qualifiedAppHostPath = Path.IsPathRooted(appHostPath) ? appHostPath : Path.Combine(settingsFile.Directory!.FullName, appHostPath); 78throw new ProjectLocatorException($"AppHost file was specified in '{settingsFile.FullName}' but it does not exist."); 103logger.LogError("Project file {ProjectFile} does not exist.", projectFile.FullName); 107logger.LogDebug("Using project file {ProjectFile}", projectFile.FullName); 146var relativePath = Path.GetRelativePath(settingsFile.Directory.FullName, projectFile.FullName).Replace(Path.DirectorySeparatorChar, '/');
Aspire.Cli.Tests (27)
DotNet\DotNetCliRunnerTests.cs (1)
19await File.WriteAllTextAsync(projectFile.FullName, "Not a real project file.");
Projects\ProjectLocatorTests.cs (25)
45await File.WriteAllTextAsync(targetAppHostProjectFile.FullName, "Not a real apphost"); 49await File.WriteAllTextAsync(targetAppHostProjectFile.FullName, "Not a real apphost"); 52var aspireSettingsFile = new FileInfo(Path.Combine(workspaceSettingsDirectory.FullName, "settings.json")); 57appHostPath = Path.GetRelativePath(aspireSettingsFile.Directory!.FullName, targetAppHostProjectFile.FullName) 66Assert.Equal(targetAppHostProjectFile.FullName, foundAppHost?.FullName); 81await File.WriteAllTextAsync(targetAppHostProjectFile.FullName, "Not a real apphost"); 85await File.WriteAllTextAsync(targetAppHostProjectFile.FullName, "Not a real apphost"); 88var aspireSettingsFile = new FileInfo(Path.Combine(workspaceSettingsDirectory.FullName, "settings.json")); 93appHostPath = Path.GetRelativePath(aspireSettingsFile.Directory!.FullName, targetAppHostProjectFile.FullName) 102Assert.Equal(targetAppHostProjectFile.FullName, foundAppHost?.FullName); 112await File.WriteAllTextAsync(projectFile1.FullName, "Not a real project file."); 115await File.WriteAllTextAsync(projectFile2.FullName, "Not a real project file."); 134await File.WriteAllTextAsync(appHostProject.FullName, "Not a real apphost project."); 137await File.WriteAllTextAsync(webProject.FullName, "Not a real web project."); 141if (projectFile.FullName == appHostProject.FullName) 153Assert.Equal(appHostProject.FullName, foundAppHost?.FullName); 178await File.WriteAllTextAsync(projectFile.FullName, "Not a real project file."); 194await File.WriteAllTextAsync(projectFile.FullName, "Not a real project file."); 200Assert.Equal(projectFile.FullName, returnedProjectFile!.FullName); 211var appHostProjectFile = new FileInfo(Path.Combine(appHostDirectory.FullName, "AppHost.csproj")); 212await File.WriteAllTextAsync(appHostProjectFile.FullName, "Not a real project file."); 226var settingsJson = await File.ReadAllTextAsync(settingsFile.FullName);
Utils\TemporaryRepo.cs (1)
63outputHelper.WriteLine($"Temporary workspace created at: {repoDirectory.FullName}");
Aspire.Dashboard.Tests (6)
Integration\StartupTests.cs (3)
161.AddInMemoryCollection(new Dictionary<string, string?> { [dashboardFileConfigDirectoryNameKey] = fileConfigDirectory.FullName }) 196.AddInMemoryCollection(new Dictionary<string, string?> { [DashboardConfigNames.DashboardFileConfigDirectoryName.ConfigKey] = fileConfigDirectory.FullName }) 785var browserTokenConfigFile = Path.Combine(fileConfigDirectory.FullName, DashboardConfigNames.DashboardFrontendBrowserTokenName.EnvVarName);
tests\Shared\Playwright\PlaywrightProvider.cs (1)
55var probePath = Path.Combine(repoRoot.FullName, "artifacts", "bin", "playwright-deps");
tests\Shared\Playwright\TestUtils.cs (2)
14if (Directory.Exists(Path.Combine(repoRoot.FullName, ".git")) || File.Exists(Path.Combine(repoRoot.FullName, ".git")))
Aspire.EndToEnd.Tests (6)
IntegrationServicesFixture.cs (1)
56_testProjectPath = Path.Combine(BuildEnvironment.RepoRoot.FullName, "tests", "testproject");
tests\Shared\Playwright\PlaywrightProvider.cs (1)
55var probePath = Path.Combine(repoRoot.FullName, "artifacts", "bin", "playwright-deps");
tests\Shared\Playwright\TestUtils.cs (2)
14if (Directory.Exists(Path.Combine(repoRoot.FullName, ".git")) || File.Exists(Path.Combine(repoRoot.FullName, ".git")))
tests\Shared\TemplatesTesting\BuildEnvironment.cs (2)
76var sdkFromArtifactsPath = Path.Combine(RepoRoot!.FullName, "artifacts", "bin", sdkDirName); 108BuiltNuGetsPath = Path.Combine(RepoRoot.FullName, "artifacts", "packages", "Debug", "Shipping");
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (1)
1331FileInfo filePath => filePath.FullName,
Dcp\Locations.cs (1)
18_basePath ??= Directory.CreateTempSubdirectory("aspire.").FullName;
Publishing\ManifestPublisher.cs (2)
46if (!Directory.Exists(parentDirectory!.FullName)) 49Directory.CreateDirectory(parentDirectory.FullName);
Publishing\ManifestPublishingContext.cs (1)
344FileInfo fileValue => GetManifestRelativePath(fileValue.FullName),
Aspire.Hosting.Azure (4)
AzureBicepResource.cs (1)
100? Path.Combine(directory ?? Directory.CreateTempSubdirectory("aspire").FullName, $"{Name.ToLowerInvariant()}.module.bicep")
AzureProvisioningResource.cs (1)
83var generationPath = Directory.CreateTempSubdirectory("aspire").FullName;
AzurePublishingContext.cs (2)
125var modulePath = Path.Combine(moduleDirectory.FullName, $"{resource.Name}.bicep"); 246var modulePath = Path.Combine(moduleDirectory.FullName, $"{resource.Name}.bicep");
Aspire.Hosting.Azure.Tests (21)
AzureContainerAppsTests.cs (2)
66File.WriteAllText(Path.Combine(directory.FullName, "Dockerfile"), ""); 68builder.AddDockerfile("api", directory.FullName);
AzureEnvironmentResourceTests.cs (14)
21output.WriteLine($"Temp directory: {tempDir.FullName}"); 22using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.FullName); 34var mainBicepPath = Path.Combine(tempDir.FullName, "main.bicep"); 38var envBicepPath = Path.Combine(tempDir.FullName, "env", "env.bicep"); 54output.WriteLine($"Temp directory: {tempDir.FullName}"); 55using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.FullName); 72var mainBicepPath = Path.Combine(tempDir.FullName, "main.bicep"); 87output.WriteLine($"Temp directory: {tempDir.FullName}"); 90outputPath: tempDir.FullName); 125var mainBicepPath = Path.Combine(tempDir.FullName, "main.bicep"); 136output.WriteLine($"Temp directory: {tempDir.FullName}"); 139outputPath: tempDir.FullName); 174var mainBicep = File.ReadAllText(Path.Combine(tempDir.FullName, "main.bicep")); 175var storageBicep = File.ReadAllText(Path.Combine(tempDir.FullName, "storage", "storage.bicep"));
AzureManifestUtils.cs (1)
30string manifestDir = Directory.CreateTempSubdirectory(resource.Name).FullName;
AzureResourceOptionsTests.cs (4)
23var outputPath = Path.Combine(tempDir.FullName, "aspire-manifest.json"); 42var actualBicep = await File.ReadAllTextAsync(Path.Combine(tempDir.FullName, "sb.module.bicep")); 71actualBicep = await File.ReadAllTextAsync(Path.Combine(tempDir.FullName, "sql-server.module.bicep")); 132output.WriteLine($"Failed to delete {tempDir.FullName} : {ex.Message}. Ignoring.");
Aspire.Hosting.Docker.Tests (4)
DockerComposePublisherTests.cs (1)
193Path = Directory.CreateTempSubdirectory(".aspire-compose").FullName;
DockerComposeTests.cs (3)
35output.WriteLine($"Temp directory: {tempDir.FullName}"); 36using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.FullName); 46var composeFile = Path.Combine(tempDir.FullName, "docker-compose.yaml");
Aspire.Hosting.Kubernetes.Tests (6)
KubernetesEnvironmentResourceTests.cs (5)
13output.WriteLine($"Temp directory: {tempDir.FullName}"); 14using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish, publisher: "default", outputPath: tempDir.FullName); 24var chartYaml = Path.Combine(tempDir.FullName, "Chart.yaml"); 25var valuesYaml = Path.Combine(tempDir.FullName, "values.yaml"); 26var deploymentYaml = Path.Combine(tempDir.FullName, "templates", "service", "deployment.yaml");
KubernetesPublisherTests.cs (1)
110public string Path { get; } = Directory.CreateTempSubdirectory(".aspire-kubernetes").FullName;
Aspire.Hosting.MySql.Tests (3)
AddMySqlTests.cs (1)
261var tempStorePath = Directory.CreateTempSubdirectory().FullName;
MySqlFunctionalTests.cs (2)
148bindMountPath = Directory.CreateTempSubdirectory().FullName; 459var aspireStorePath = Directory.CreateTempSubdirectory().FullName;
Aspire.Hosting.Nats.Tests (1)
NatsFunctionalTests.cs (1)
176bindMountPath = Directory.CreateTempSubdirectory().FullName;
Aspire.Hosting.NodeJs.Tests (1)
NodeAppFixture.cs (1)
75var tempDir = Directory.CreateTempSubdirectory("aspire-nodejs-tests").FullName;
Aspire.Hosting.Oracle.Tests (2)
OracleFunctionalTests.cs (2)
113bindMountPath = Directory.CreateTempSubdirectory().FullName; 264var bindMountPath = Directory.CreateTempSubdirectory().FullName;
Aspire.Hosting.PostgreSQL.Tests (3)
AddPostgresTests.cs (2)
458var tempStorePath = Directory.CreateTempSubdirectory().FullName; 527var tempStorePath = Directory.CreateTempSubdirectory().FullName;
PostgresFunctionalTests.cs (1)
449var aspireStorePath = Directory.CreateTempSubdirectory().FullName;
Aspire.Hosting.RabbitMQ.Tests (1)
RabbitMQFunctionalTests.cs (1)
121bindMountPath = Directory.CreateTempSubdirectory().FullName;
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
455bindMountPath = Directory.CreateTempSubdirectory().FullName;
Aspire.Hosting.Testing (2)
DistributedApplicationFactory.cs (2)
346var launchSettingsFilePath = projectFileInfo.FullName switch 349_ => Path.Combine(projectFileInfo.FullName, "Properties", "launchSettings.json")
Aspire.Hosting.Testing.Tests (2)
tests\Aspire.Hosting.Tests\Utils\MSBuildUtils.cs (1)
15directory = Directory.GetParent(directory)!.FullName;
tests\Shared\DistributedApplicationTestingBuilderExtensions.cs (1)
32builder.Configuration["Aspire:Store:Path"] = path ?? Directory.CreateTempSubdirectory().FullName;
Aspire.Hosting.Tests (6)
MSBuildTests.cs (2)
23var libraryDirectory = Path.Combine(tempDirectory.FullName, "Library"); 45var appHostDirectory = Path.Combine(tempDirectory.FullName, "AppHost");
Schema\SchemaTests.cs (2)
112var tempContextPath = Directory.CreateTempSubdirectory().FullName; 213string manifestDir = Directory.CreateTempSubdirectory(testCaseName).FullName;
tests\Shared\DistributedApplicationTestingBuilderExtensions.cs (1)
32builder.Configuration["Aspire:Store:Path"] = path ?? Directory.CreateTempSubdirectory().FullName;
Utils\MSBuildUtils.cs (1)
15directory = Directory.GetParent(directory)!.FullName;
Aspire.Templates.Tests (5)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
55var probePath = Path.Combine(repoRoot.FullName, "artifacts", "bin", "playwright-deps");
tests\Shared\Playwright\TestUtils.cs (2)
14if (Directory.Exists(Path.Combine(repoRoot.FullName, ".git")) || File.Exists(Path.Combine(repoRoot.FullName, ".git")))
tests\Shared\TemplatesTesting\BuildEnvironment.cs (2)
76var sdkFromArtifactsPath = Path.Combine(RepoRoot!.FullName, "artifacts", "bin", sdkDirName); 108BuiltNuGetsPath = Path.Combine(RepoRoot.FullName, "artifacts", "packages", "Debug", "Shipping");
BuildValidator (5)
LocalReferenceResolver.cs (2)
73logger.LogInformation($"Searching {directory.FullName}"); 86locations.Add(fileInfo.FullName);
Program.cs (3)
145logger.LogInformation($@"""{artifactsDir.FullName}"""); 325logger.LogError($"Could not find pdb for {originalBinary.FullName}"); 329using var _ = logger.BeginScope($"Verifying {originalBinary.FullName} with pdb {pdbPath ?? "[embedded]"}");
CodeStyleConfigFileGenerator (2)
Program.cs (2)
91var configFilePath = Path.Combine(directory.FullName, configFileName); 205var fileWithPath = Path.Combine(directory.FullName, targetsFileName);
dotnet-dev-certs (5)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
488Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
464Log.DirectoryPermissionsNotSecure(dirInfo.FullName); 903if (!TryGetOpenSslHash(cert.FullName, out var hash)) 923Log.UnixOpenSslRehashTooManyHashes(cert.FullName, hash, MaxHashCollisions);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
163Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
dotnet-openapi (2)
Commands\BaseCommand.cs (2)
128projectFile.FullName, 225WorkingDirectory = projectFile.Directory.FullName,
dotnet-svcutil.xmlserializer (3)
Microsoft\Tools\ServiceModel\SvcUtil\InputModule.cs (3)
115throw new ToolInputException(SR.Format(SR.ErrInputFileNotAssemblyOrMetadata, fileInfo.FullName, path)); 135assembly = LoadAssembly(fileInfo.FullName); 171throw new ToolInputException(SR.Format(SR.ErrDirectoryNotFound, dirInfo.FullName));
dotnet-svcutil-lib (33)
Bootstrapper\SvcutilBootstrapper.cs (1)
99var projectFullPath = Path.Combine(this.Options.BootstrapPath.FullName, nameof(SvcutilBootstrapper), SvcutilBootstrapper.ProjectName);
CodeSerializer.cs (2)
32_outputFilePath = OutputPathHelper.BuildFilePath(s_defaultFileName, options.OutputDir.FullName, outputFilename, extension, CommandProcessorOptions.Switches.OutputFile.Name); 133string fileName = options.OutputFile?.FullName;
CommandProcessorOptions.cs (10)
216await ProcessOutputFileOptionAsync(this.OutputDir.FullName, cancellationToken); 390Path.GetDirectoryName(this.OutputFile.FullName) : Path.GetDirectoryName(Path.Combine(Directory.GetCurrentDirectory(), this.OutputFile.OriginalPath())); 651if (this.Project != null && PathHelper.GetRelativePath(this.OutputDir.FullName, new DirectoryInfo(this.Project.DirectoryPath), out var relPath)) 698var projectFullPath = Path.Combine(this.BootstrapPath.FullName, "TFMResolver", "TFMResolver.csproj"); 736var inputFiles = Metadata.MetadataFileNameManager.ResolveFiles(metadataUri.LocalPath).Select(f => f.FullName); 836string projFolder = Path.Combine(this.BootstrapPath.FullName, nameof(SvcutilBootstrapper)); 841assembly = Assembly.LoadFrom(assemblyFile.FullName); 1008if (!Directory.Exists(this.BootstrapPath.FullName)) 1010Directory.CreateDirectory(this.BootstrapPath.FullName); 1014await RuntimeEnvironmentHelper.TryCopyingConfigFiles(workingDirectory, this.BootstrapPath.FullName, logger, cancellationToken).ConfigureAwait(false);
Metadata\MetadataDocumentLoader.cs (4)
107this.metadataSourceFiles.AddRange(fileInfoList.Select(fi => new Uri(fi.FullName, UriKind.Absolute))); 148this.metadataSourceFiles.AddRange(fileInfoList.Select(fi => new Uri(fi.FullName, UriKind.Absolute))); 219if (!IsUriProcessed(fileInfo.FullName)) 223await LoadFromStreamAsync(fileStream, fileInfo.FullName, fileInfo.DirectoryName, cancellationToken).ConfigureAwait(false);
Metadata\MetadataDocumentSaver.cs (1)
143var missingRefs = files.Where(file => !this.MetadataFiles.Any(metaFile => MetadataFileNameManager.UriEqual(file.FullName, metaFile.SourceUri)));
Metadata\MetadataFileNameManager.cs (1)
248throw new DirectoryNotFoundException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrDirectoryNotFoundFormat, dirInfo.FullName));
Shared\MSBuildProj.cs (4)
316fullPath = new FileInfo(Path.Combine(msbuildProj.DirectoryPath, binReference)).FullName; 797var assetsFile = new FileInfo(Path.Combine(this.DirectoryPath, "obj", "project.assets.json")).FullName; 1006.Where(f => PathHelper.GetFolderName(Path.GetDirectoryName(f)) == this.TargetFramework || Directory.GetParent(Directory.GetParent(f).FullName).Name == this.TargetFramework) 1010depsFile = depsFiles.FirstOrDefault()?.FullName;
Shared\Options\ApplicationOptions.cs (1)
140jsonText = File.ReadAllText(fileInfo.FullName);
Shared\Options\UpdateOptions.cs (2)
109this.OutputFile = new FileInfo(Path.Combine(optionsFileDirectory.FullName, this.OutputFile.OriginalPath())); 117if (!input.IsAbsoluteUri && PathHelper.IsFile(input, optionsFileDirectory.FullName, out var fileUri))
Shared\Utilities\PathHelper.cs (4)
85filePath = Path.Combine(directory.FullName, relPath); 114var parentSegments = Path.GetFullPath(parentPath.FullName).Split(new char[] { Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries); 178var directory = new DirectoryInfo(Path.Combine(parentDirInfo.FullName, directoryName)); 198directory = new DirectoryInfo(Path.Combine(parentDirInfo.FullName, directoryName + nextIndex));
Tool.cs (3)
145if (!File.Exists(options.OutputFile.FullName)) 268PathHelper.IsUnderDirectory(options.OutputFile.FullName, new DirectoryInfo(options.Project.DirectoryPath), out var filePath, out var relPath); 314var paramsFile = Path.Combine(options.OutputDir.FullName, CommandProcessorOptions.SvcutilParamsFileName);
dotnet-svcutil-lib.Tests (3)
FileUtil.cs (1)
35CopyDirectory(subdir.FullName, temppath);
FixupUtil.cs (1)
56var resultPathReplacement = Directory.GetParent(resultsPath).FullName;
TestInit.cs (1)
539vstestDir = new DirectoryInfo(Path.Combine(g_RepositoryRoot, "src", "dotnet-svcutil", "lib", "tests")).FullName;
FilesWebSite (1)
Controllers\DownloadFilesController.cs (1)
61return PhysicalFile(fileInfo.FullName, "text/plain");
GenerateDocumentationAndConfigFiles (10)
Program.cs (10)
433var fileWithPath = Path.Combine(directory.FullName, args.PropsFileName); 442fileWithPath = Path.Combine(directory.FullName, args.PropsFileToDisableNetAnalyzersInNuGetPackageName); 542var fileWithPath = Path.Combine(directory.FullName, args.AnalyzerDocumentationFileName); 638var fileWithPath = Path.Combine(directory.FullName, args.AnalyzerSarifFileName); 732Validate(Path.Combine(directory.FullName, args.AnalyzerSarifFileName), stringWriter.ToString(), fileNamesWithValidationFailures); 774var fileWithPath = Path.Combine(directory.FullName, "RulesMissingDocumentation.md"); 1110var rulesetFilePath = Path.Combine(directory.FullName, rulesetFileName); 1175var editorconfigFilePath = Path.Combine(directory.FullName, ".editorconfig"); 1398var configFilePath = Path.Combine(directory.FullName, fileName.ToLowerInvariant()); 1610var fileWithPath = Path.Combine(directory.FullName, targetsFileName);
GenerateRulesMissingDocumentation (1)
Program.cs (1)
41var fileWithPath = Path.Combine(directory.FullName, rulesMissingDocumentationFileName);
IIS.FunctionalTests (14)
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (4)
216file.CopyTo(Path.Combine(toInfo.FullName, file.Name)); 251imageAttribute.Value = imageAttribute.Value.Replace(sourceDirectory.FullName, destinationDirectory.FullName); 266var destFileName = Path.Combine(target.FullName, fileInfo.Name);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (7)
83if (directoryInfo.FullName != target.FullName) 88logger?.LogDebug($"Processing {target.FullName}"); 92var destFileName = Path.Combine(target.FullName, fileInfo.Name); 267File.WriteAllText(Path.Combine(rootApplicationDirectory.FullName, "web.config"), "<configuration></configuration>"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName); 276return rootApplicationDirectory.FullName;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (1)
40return Task.FromResult(new PublishedApplication(target.FullName, logger));
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (2)
130_publishedApplication = new PublishedApplication(destination.FullName, Logger); 135.SetAttributeValue("physicalPath", destination.FullName);
IIS.LongTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (7)
83if (directoryInfo.FullName != target.FullName) 88logger?.LogDebug($"Processing {target.FullName}"); 92var destFileName = Path.Combine(target.FullName, fileInfo.Name); 267File.WriteAllText(Path.Combine(rootApplicationDirectory.FullName, "web.config"), "<configuration></configuration>"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName); 276return rootApplicationDirectory.FullName;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (1)
40return Task.FromResult(new PublishedApplication(target.FullName, logger));
IIS.NewHandler.FunctionalTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (7)
83if (directoryInfo.FullName != target.FullName) 88logger?.LogDebug($"Processing {target.FullName}"); 92var destFileName = Path.Combine(target.FullName, fileInfo.Name); 267File.WriteAllText(Path.Combine(rootApplicationDirectory.FullName, "web.config"), "<configuration></configuration>"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName); 276return rootApplicationDirectory.FullName;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (1)
40return Task.FromResult(new PublishedApplication(target.FullName, logger));
IIS.NewShim.FunctionalTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (7)
83if (directoryInfo.FullName != target.FullName) 88logger?.LogDebug($"Processing {target.FullName}"); 92var destFileName = Path.Combine(target.FullName, fileInfo.Name); 267File.WriteAllText(Path.Combine(rootApplicationDirectory.FullName, "web.config"), "<configuration></configuration>"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName); 276return rootApplicationDirectory.FullName;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (1)
40return Task.FromResult(new PublishedApplication(target.FullName, logger));
IIS.ShadowCopy.Tests (12)
ShadowCopyTests.cs (4)
66if (!tempDirectoryPath.Equals(dirInfo.FullName)) 128dllPath = file.FullName; 356DirectoryPath = directoryInfo.FullName; 429DirectoryCopy(subdir.FullName, tempPath, copySubDirs);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (7)
83if (directoryInfo.FullName != target.FullName) 88logger?.LogDebug($"Processing {target.FullName}"); 92var destFileName = Path.Combine(target.FullName, fileInfo.Name); 267File.WriteAllText(Path.Combine(rootApplicationDirectory.FullName, "web.config"), "<configuration></configuration>"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName); 276return rootApplicationDirectory.FullName;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (1)
40return Task.FromResult(new PublishedApplication(target.FullName, logger));
IISExpress.FunctionalTests (14)
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (4)
216file.CopyTo(Path.Combine(toInfo.FullName, file.Name)); 251imageAttribute.Value = imageAttribute.Value.Replace(sourceDirectory.FullName, destinationDirectory.FullName); 266var destFileName = Path.Combine(target.FullName, fileInfo.Name);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (7)
83if (directoryInfo.FullName != target.FullName) 88logger?.LogDebug($"Processing {target.FullName}"); 92var destFileName = Path.Combine(target.FullName, fileInfo.Name); 267File.WriteAllText(Path.Combine(rootApplicationDirectory.FullName, "web.config"), "<configuration></configuration>"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName); 276return rootApplicationDirectory.FullName;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (1)
40return Task.FromResult(new PublishedApplication(target.FullName, logger));
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (2)
130_publishedApplication = new PublishedApplication(destination.FullName, Logger); 135.SetAttributeValue("physicalPath", destination.FullName);
illink (4)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (11)
UserJwtsTestFixture.cs (7)
65Directory.CreateDirectory(Path.Combine(projectPath.FullName, "Properties")); 74Path.Combine(projectPath.FullName, "TestProject.csproj"), 77File.WriteAllText(Path.Combine(projectPath.FullName, "Properties", "launchSettings.json"), 81Path.Combine(projectPath.FullName, "appsettings.Development.json"), 85Path.Combine(projectPath.FullName, "appsettings.Local.json"), 101_disposables.Push(() => TryDelete(projectPath.FullName)); 103return projectPath.FullName;
UserJwtsTests.cs (4)
709Directory.SetCurrentDirectory(path.FullName); 735Directory.SetCurrentDirectory(path.FullName); 760Directory.SetCurrentDirectory(path.FullName); 785Directory.SetCurrentDirectory(path.FullName);
Microsoft.AspNetCore.DataProtection (13)
Internal\ContainerUtils.cs (2)
65var fs_file = new DirectoryInfo(fields[1].TrimEnd(Path.DirectorySeparatorChar)).FullName; 70if (fs_file.Equals(dir.FullName.TrimEnd(Path.DirectorySeparatorChar), StringComparison.Ordinal))
Internal\KeyManagementOptionsPostSetup.cs (1)
75logger.UsingReadOnlyKeyConfiguration(keyDirectory.FullName);
KeyManagement\XmlKeyManager.cs (3)
654_logger.UsingAzureAsKeyRepository(azureWebSitesKeysFolder.FullName); 680_logger.UsingProfileAsKeyRepositoryWithDPAPI(localAppDataKeysFolder.FullName); 684_logger.UsingProfileAsKeyRepository(localAppDataKeysFolder.FullName);
Repositories\FileSystemXmlRepository.cs (7)
40_logger.UsingEphemeralFileSystemLocationInContainer(Directory.FullName); 87yield return ReadElementFromFile(fileSystemInfo.FullName); 140var tempFilename = Path.Combine(Directory.FullName, Guid.NewGuid().ToString() + ".tmp"); 141var finalFilename = Path.Combine(Directory.FullName, filename + ".xml"); 188var fullPath = fileSystemInfo.FullName; 202_logger.DeletingFile(fileSystemInfo.FullName); 210_logger.FailedToDeleteFile(fileSystemInfo.FullName, ex);
Microsoft.AspNetCore.DataProtection.Extensions.Tests (6)
DataProtectionProviderTests.cs (6)
41string fileText = File.ReadAllText(allFiles[0].FullName); 76var fileText = File.ReadAllText(file.FullName); 110string fileText = File.ReadAllText(allFiles[0].FullName); 156string fileText = File.ReadAllText(allFiles[0].FullName); 236string fileText = File.ReadAllText(allFiles[0].FullName); 307string fileText = File.ReadAllText(allFiles[0].FullName);
Microsoft.AspNetCore.DataProtection.Tests (15)
Internal\KeyManagementOptionsPostSetupTest.cs (3)
16private static readonly string keyDir = new DirectoryInfo("/testpath").FullName; 165Assert.Equal(keyDir, repository.Directory.FullName); 184Assert.NotEqual(keyDir, (repository as FileSystemXmlRepository)?.Directory.FullName);
Repositories\FileSystemXmlRepositoryTests.cs (10)
21var expectedDir = new DirectoryInfo(Path.Combine(baseDir, "DataProtection-Keys")).FullName; 27Assert.Equal(expectedDir, defaultDirInfo.FullName); 82var parsedElement = XElement.Parse(File.ReadAllText(fileInfo.FullName)); 116var parsedElement = XElement.Parse(File.ReadAllText(fileInfo.FullName)); 205var filePath1 = Path.Combine(dirInfo.FullName, "friendly1.xml"); 206var filePath2 = Path.Combine(dirInfo.FullName, "friendly2.xml"); 207var filePath3 = Path.Combine(dirInfo.FullName, "friendly3.xml"); 222fileLock2 = new FileStream(Path.Combine(dirInfo.FullName, "friendly2.xml"), FileMode.Open, FileAccess.ReadWrite, FileShare.None); 255var filePath = Path.Combine(dirInfo.FullName, "friendly1.xml"); 290Assert.Contains(Resources.FormatFileSystem_EphemeralKeysLocationInContainer(dirInfo.FullName), loggerFactory.ToString());
ServiceCollectionTests.cs (2)
74var keyDir = new DirectoryInfo("/testpath").FullName; 97Assert.Equal(keyDir, repository.Directory.FullName);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (5)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
488Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
464Log.DirectoryPermissionsNotSecure(dirInfo.FullName); 903if (!TryGetOpenSslHash(cert.FullName, out var hash)) 923Log.UnixOpenSslRehashTooManyHashes(cert.FullName, hash, MaxHashCollisions);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
163Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
Microsoft.AspNetCore.FunctionalTests (2)
WebHostFunctionalTests.cs (2)
240var solutionFileInfo = new FileInfo(Path.Combine(directoryInfo.FullName, "DefaultBuilder.slnf")); 243return Path.GetFullPath(Path.Combine(directoryInfo.FullName, "testassets"));
Microsoft.AspNetCore.Identity.Test (2)
IdentityUIScriptsTest.cs (2)
175var solutionPath = Directory.EnumerateFiles(directoryInfo.FullName, "*.sln").FirstOrDefault(); 178return directoryInfo.FullName;
Microsoft.AspNetCore.InternalTesting (3)
TestPathUtilities.cs (3)
19var projectFileInfo = new FileInfo(Path.Combine(directoryInfo.FullName, $"{solution}.slnf")); 25projectFileInfo = new FileInfo(Path.Combine(directoryInfo.FullName, "AspNetCore.slnx")); 29directoryInfo = new DirectoryInfo(Path.Combine(directoryInfo.FullName, "src"));
Microsoft.AspNetCore.Mvc.Testing (2)
WebApplicationFactory.cs (2)
515depsFile.FullName, 516Path.GetFileName(depsFile.FullName)));
Microsoft.AspNetCore.Server.IntegrationTesting (6)
ApplicationPublisher.cs (2)
31+ $" --output \"{publishDirectory.FullName}\"" 99return Task.FromResult(new PublishedApplication(publishDirectory.FullName, logger));
CachingApplicationPublisher.cs (3)
56return target.FullName; 66logger.LogDebug($"Processing {target.FullName}"); 70var destFileName = Path.Combine(target.FullName, fileInfo.Name);
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
298DirectoryCopy(subdir.FullName, temppath, copySubDirs);
Microsoft.AspNetCore.Server.Kestrel.Core (5)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
488Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
464Log.DirectoryPermissionsNotSecure(dirInfo.FullName); 903if (!TryGetOpenSslHash(cert.FullName, out var hash)) 923Log.UnixOpenSslRehashTooManyHashes(cert.FullName, hash, MaxHashCollisions);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
163Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
Microsoft.AspNetCore.Server.Kestrel.Tests (4)
KestrelConfigurationLoaderTests.cs (4)
960var tempDir = Directory.CreateTempSubdirectory().FullName; 974var oldCertPath = Path.Combine(oldDir.FullName, "tls.key"); 975var newCertPath = Path.Combine(newDir.FullName, "tls.key"); 998new KeyValuePair<string, string>("Endpoints:End1:Certificate:Path", fileLink.FullName),
Microsoft.AspNetCore.TestHost (2)
WebHostBuilderExtensions.cs (2)
155var solutionPath = Directory.EnumerateFiles(directoryInfo.FullName, solutionName).FirstOrDefault(); 158builder.UseContentRoot(Path.GetFullPath(Path.Combine(directoryInfo.FullName, solutionRelativePath)));
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
642options.StartInfo.WorkingDirectory = tmpDir.FullName;
Microsoft.Build.BuildCheck.UnitTests (2)
EndToEndTests.cs (1)
981string checksPackagesPath = Path.Combine(Directory.GetParent(AssemblyLocation)?.Parent?.FullName ?? string.Empty, "CustomChecks");
TestAssemblyInfo.cs (1)
138currentFolder = Directory.GetParent(currentFolder)?.FullName;
Microsoft.Build.CommandLine.UnitTests (3)
TestAssemblyInfo.cs (1)
138currentFolder = Directory.GetParent(currentFolder)?.FullName;
XMake_Tests.cs (2)
1986string projectDirectory = Directory.CreateDirectory(Path.Combine(ObjectModelHelpers.TempProjectDir, Guid.NewGuid().ToString("N"))).FullName; 2009string projectDirectory = Directory.CreateDirectory(Path.Combine(ObjectModelHelpers.TempProjectDir, Guid.NewGuid().ToString("N"))).FullName;
Microsoft.Build.Engine.OM.UnitTests (8)
BuildEnvironmentHelper.cs (2)
584=> currentToolsDirectory.Parent?.FullName, 597MSBuildToolsDirectoryRoot = currentToolsDirectory.Parent?.FullName;
FileUtilities.cs (1)
1292return parent?.FullName ?? path;
TempFileUtilities.cs (1)
216CopyDirectory(subdirInfo.FullName, destDir);
TestAssemblyInfo.cs (1)
138currentFolder = Directory.GetParent(currentFolder)?.FullName;
TransientIO.cs (3)
60public string RootFolder => EnsureTempRoot().FullName; 114if (this.root != null && Directory.Exists(this.root.FullName)) 118FileUtilities.DeleteDirectoryNoThrow(this.root.FullName, true);
Microsoft.Build.Engine.UnitTests (8)
BackEnd\SdkResolverLoader_Tests.cs (6)
65var f1 = Path.Combine(d1.FullName, "Resolver1.dll"); 68var f2 = Path.Combine(d1.FullName, "Dependency.dll"); 69var f3 = Path.Combine(d1.FullName, "InvalidName.dll"); 70var f4 = Path.Combine(d1.FullName, "NoResolver.txt"); 97var wrongResolverDll = Path.Combine(testFolder.FullName, "MyTestResolver.dll"); 98var resolverManifest = Path.Combine(testFolder.FullName, "MyTestResolver.xml");
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
192string testSdkDirectory = Directory.CreateDirectory(Path.Combine(_testSdkRoot, sdkName, "Sdk")).FullName;
TestAssemblyInfo.cs (1)
138currentFolder = Directory.GetParent(currentFolder)?.FullName;
Microsoft.Build.Framework.UnitTests (1)
TestAssemblyInfo.cs (1)
138currentFolder = Directory.GetParent(currentFolder)?.FullName;
Microsoft.Build.Tasks.CodeAnalysis (2)
Vbc.cs (2)
324Utilities.DeleteNoThrow(desiredPdbInfo.FullName); 328File.Move(actualPdbInfo.FullName, desiredLocation);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (2)
DotNetSdkTests.cs (2)
579foundConfigs.Add(editorConfigs[0].FullName); 585foundConfigs.Add(globalConfigs[0].FullName);
Microsoft.Build.Tasks.Core (41)
BuildEnvironmentHelper.cs (2)
584=> currentToolsDirectory.Parent?.FullName, 597MSBuildToolsDirectoryRoot = currentToolsDirectory.Parent?.FullName;
DownloadFile.cs (7)
180var destinationFile = new FileInfo(Path.Combine(destinationDirectory.FullName, filename)); 185Log.LogMessageFromResources(MessageImportance.Normal, "DownloadFile.DidNotDownloadBecauseOfFileMatch", SourceUrl, destinationFile.FullName, nameof(SkipUnchangedFiles), "true"); 187DownloadedFile = new TaskItem(destinationFile.FullName); 193Log.LogErrorFromResources("DownloadFile.Downloading", SourceUrl, destinationFile.FullName, response.Content.Headers.ContentLength); 201using (var target = new FileStream(destinationFile.FullName, FileMode.Create, FileAccess.Write, FileShare.None)) 203Log.LogMessageFromResources(MessageImportance.High, "DownloadFile.Downloading", SourceUrl, destinationFile.FullName, response.Content.Headers.ContentLength); 215DownloadedFile = new TaskItem(destinationFile.FullName);
FileMatcher.cs (1)
830if (linkTarget is not null && recursionState.BaseDirectory.Contains(linkTarget.FullName))
FileUtilities.cs (1)
1292return parent?.FullName ?? path;
TempFileUtilities.cs (1)
216CopyDirectory(subdirInfo.FullName, destDir);
Unzip.cs (15)
163string fullDestinationDirectoryPath = Path.GetFullPath(FileUtilities.EnsureTrailingSlash(destinationDirectory.FullName)); 173string fullDestinationPath = Path.GetFullPath(Path.Combine(destinationDirectory.FullName, zipArchiveEntry.FullName)); 180if (Path.GetFileName(destinationPath.FullName).Length == 0) 183Directory.CreateDirectory(destinationPath.FullName); 187if (!destinationPath.FullName.StartsWith(destinationDirectory.FullName, StringComparison.OrdinalIgnoreCase)) 191Log.LogErrorFromResources("Unzip.ErrorExtractingResultsInFilesOutsideDestination", destinationPath.FullName, destinationDirectory.FullName); 197Log.LogMessageFromResources(MessageImportance.Low, "Unzip.DidNotUnzipBecauseOfFileMatch", zipArchiveEntry.FullName, destinationPath.FullName, nameof(SkipUnchangedFiles), "true"); 202Log.LogErrorFromResources("Unzip.FileComment", zipArchiveEntry.FullName, destinationPath.FullName); 224string lockedFileMessage = LockCheck.GetLockedFileMessage(destinationPath.FullName); 225Log.LogErrorWithCodeFromResources("Unzip.ErrorCouldNotMakeFileWriteable", zipArchiveEntry.FullName, destinationPath.FullName, e.Message, lockedFileMessage); 232Log.LogMessageFromResources(MessageImportance.Normal, "Unzip.FileComment", zipArchiveEntry.FullName, destinationPath.FullName); 257using (FileStream destination = new FileStream(destinationPath.FullName, fileStreamOptions)) 273Log.LogErrorWithCodeFromResources("Unzip.ErrorCouldNotExtractFile", zipArchiveEntry.FullName, destinationPath.FullName, e.Message);
ZipDirectory.cs (14)
45Log.LogErrorWithCodeFromResources("ZipDirectory.ErrorDirectoryDoesNotExist", sourceDirectory.FullName); 59Log.LogErrorWithCodeFromResources("ZipDirectory.ErrorFileExists", destinationFile.FullName); 66File.Delete(destinationFile.FullName); 70string lockedFileMessage = LockCheck.GetLockedFileMessage(destinationFile.FullName); 71Log.LogErrorWithCodeFromResources("ZipDirectory.ErrorFailed", sourceDirectory.FullName, destinationFile.FullName, e.Message, lockedFileMessage); 81Log.LogErrorFromResources("ZipDirectory.Comment", sourceDirectory.FullName, destinationFile.FullName); 85Log.LogMessageFromResources(MessageImportance.High, "ZipDirectory.Comment", sourceDirectory.FullName, destinationFile.FullName); 86ZipFile.CreateFromDirectory(sourceDirectory.FullName, destinationFile.FullName); 91Log.LogErrorWithCodeFromResources("ZipDirectory.ErrorFailed", sourceDirectory.FullName, destinationFile.FullName, e.Message, string.Empty);
Microsoft.Build.Tasks.UnitTests (19)
ConvertToAbsolutePath_Tests.cs (3)
44Assert.EndsWith(testFile.FullName, t.AbsolutePaths[0].ItemSpec); 76Assert.EndsWith(testFile.FullName, t.AbsolutePaths[0].ItemSpec); 106Assert.Equal(testFile.FullName, t.AbsolutePaths[0].ItemSpec);
DownloadFile_Tests.cs (9)
79file.Exists.ShouldBeTrue(file.FullName); 81File.ReadAllText(file.FullName).ShouldBe("Success!"); 83downloadFile.DownloadedFile.ItemSpec.ShouldBe(file.FullName); 124file.Exists.ShouldBeTrue(file.FullName); 126File.ReadAllText(file.FullName).ShouldBe("Success!"); 128downloadFile.DownloadedFile.ItemSpec.ShouldBe(file.FullName); 158file.Exists.ShouldBeTrue(file.FullName); 160File.ReadAllText(file.FullName).ShouldBe("Success!"); 162downloadFile.DownloadedFile.ItemSpec.ShouldBe(file.FullName);
FileStateTests.cs (3)
84Assert.Equal(info.FullName, state.Name); 213Assert.Equal(info.FullName, state.Name); 214string originalName = info.FullName;
FindUnderPath_Tests.cs (1)
110Assert.Equal(testFile.FullName, t.InPath[0].ItemSpec);
PortableTasks_Tests.cs (2)
59File.Copy(file.FullName, Path.Combine(folder, file.Name)); 60_outputHelper.WriteLine($"Copied {file.FullName} to {Path.Combine(folder, file.Name)}");
TestAssemblyInfo.cs (1)
138currentFolder = Directory.GetParent(currentFolder)?.FullName;
Microsoft.Build.UnitTests.Shared (2)
TestEnvironment.cs (2)
508string contents = File.ReadAllText(file.FullName); 511FileUtilities.DeleteNoThrow(file.FullName);
Microsoft.Build.Utilities.Core (21)
BuildEnvironmentHelper.cs (2)
584=> currentToolsDirectory.Parent?.FullName, 597MSBuildToolsDirectoryRoot = currentToolsDirectory.Parent?.FullName;
FileMatcher.cs (1)
830if (linkTarget is not null && recursionState.BaseDirectory.Contains(linkTarget.FullName))
FileUtilities.cs (1)
1292return parent?.FullName ?? path;
FrameworkLocationHelper.cs (1)
1029fixedPath = fixedPathInfo.FullName;
TempFileUtilities.cs (1)
216CopyDirectory(subdirInfo.FullName, destDir);
ToolLocationHelper.cs (15)
2520ErrorUtilities.DebugTraceMessage("GatherExtensionSDKs", "Found ExtensionsSDK folder '{0}'. ", extensionSdksDirectory.FullName); 2523ErrorUtilities.DebugTraceMessage("GatherExtensionSDKs", "Found '{0}' sdkName directories under '{1}'", sdkNameDirectories.Length, extensionSdksDirectory.FullName); 2529ErrorUtilities.DebugTraceMessage("GatherExtensionSDKs", "Found '{0}' sdkVersion directories under '{1}'", sdkVersionDirectories.Length, sdkNameFolders.FullName); 2535ErrorUtilities.DebugTraceMessage("GatherExtensionSDKs", "Parsed sdk version folder '{0}' under '{1}'", sdkVersionDirectory.Name, sdkVersionDirectory.FullName); 2546string pathToSDKManifest = Path.Combine(sdkVersionDirectory.FullName, "SDKManifest.xml"); 2549targetPlatformSDK.ExtensionSDKs.Add(SDKKey, FileUtilities.EnsureTrailingSlash(sdkVersionDirectory.FullName)); 2558ErrorUtilities.DebugTraceMessage("GatherExtensionSDKs", "SDKKey '{0}' was already found, not adding sdk under '{1}'", SDKKey, sdkVersionDirectory.FullName); 2563ErrorUtilities.DebugTraceMessage("GatherExtensionSDKs", "Failed to parse sdk version folder '{0}' under '{1}'", sdkVersionDirectory.Name, sdkVersionDirectory.FullName); 2621string platformSDKDirectory = Path.Combine(rootPathWithIdentifier.FullName, version); 3033ErrorUtilities.DebugTraceMessage("GatherPlatformsForSdk", "Found '{0}' platform version directories under '{1}'", platformVersions.Length, platformIdentifier.FullName); 3049string pathToPlatformManifest = Path.Combine(platformVersion.FullName, "Platform.xml"); 3052sdk.Platforms.Add(sdkKey, FileUtilities.EnsureTrailingSlash(platformVersion.FullName)); 3061ErrorUtilities.DebugTraceMessage("GatherPlatformsForSdk", "SDKKey '{0}' was already found, not adding platform under '{1}'", sdkKey, platformVersion.FullName); 3066ErrorUtilities.DebugTraceMessage("GatherPlatformsForSdk", "Failed to parse platform version folder '{0}' under '{1}'", platformVersion.Name, platformVersion.FullName); 3192pathToReturn = Directory.GetParent(pathToReturn).FullName;
Microsoft.Build.Utilities.UnitTests (2)
TestAssemblyInfo.cs (1)
138currentFolder = Directory.GetParent(currentFolder)?.FullName;
ToolTask_Tests.cs (1)
664string directoryNamedSameAsTool = Directory.CreateDirectory(Path.Combine(tempDirectory, toolName)).FullName;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
8412csc = CreateCSharpCompiler(null, Directory.GetParent(baseDir).FullName, new[] { source, "/preferreduilang:en" }); 8440csc = CreateCSharpCompiler(null, Directory.GetParent(baseDir).FullName, new[] { source, "/preferreduilang:en", "/fullpaths" });
Microsoft.CodeAnalysis.Features (9)
MetadataAsSource\MetadataAsSourceFileService.cs (1)
135TryDeleteFolderWhichContainsReadOnlyFiles(directoryInfo.FullName);
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (8)
183Path.Combine(_cacheDirectoryInfo.FullName, ConvertToFileName(_source) + ".txt")); 344var tempFilePath = Path.Combine(_cacheDirectoryInfo.FullName, guidString + ".tmp"); 366_service._ioService.Replace(tempFilePath, databaseFileInfo.FullName, destinationBackupFileName: null, ignoreMetadataErrors: true); 372_service._ioService.Move(tempFilePath, databaseFileInfo.FullName); 386=> new FileInfo(Path.ChangeExtension(databaseFileInfo.FullName, ".bin")); 427getDatabaseBytes: () => isBinary ? _service._ioService.ReadAllBytes(databaseFileInfo.FullName) : databaseBytes, 442return (_service._ioService.ReadAllBytes(databaseBinaryFileInfo.FullName), isBinary: true); 449return (_service._ioService.ReadAllBytes(databaseFileInfo.FullName), isBinary: false);
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LanguageServerWorkspaceFactory.cs (1)
43.Select(f => f.FullName)
Microsoft.CodeAnalysis.Scripting (1)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\MonoGlobalAssemblyCache.cs (1)
33s_gacDirectory = Directory.GetParent(Path.GetDirectoryName(systemAssemblyFile)).Parent.FullName;
Microsoft.CodeAnalysis.Workspaces (1)
Rename\ConflictEngine\MutableConflictResolution.cs (1)
104var directory = Directory.GetParent(document.FilePath)?.FullName;
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
NewlyCreatedProjectsFromDotNetNew.cs (1)
52?.Parent?.Parent?.Parent?.Parent?.Parent?.FullName;
Utilities\DotNetSdkMSBuildInstalled.cs (1)
31?.Parent?.Parent?.Parent?.Parent?.Parent?.FullName;
Microsoft.Data.Analysis.Tests (1)
test\Microsoft.ML.TestFramework\BaseTestClass.cs (1)
57OutDir = Path.Combine(currentAssemblyLocation.Directory.FullName, "TestOutput");
Microsoft.DotNet.Build.Tasks.Feed (5)
src\PublishArtifactsInManifestBase.cs (2)
756await DownloadFileAsync(client, artifactName, subPath, pdbStagingPath.FullName); 780File.Copy(looseFile, looseFileStagePath.FullName);
src\PushToBuildStorage.cs (3)
572DeleteFile(destFile.FullName); 604_log.LogMessage(MessageImportance.Low, $"Removing read-only attribute from \"{destFile.FullName}\"."); 605File.SetAttributes(destFile.FullName, FileAttributes.Normal);
Microsoft.DotNet.Build.Tasks.Packaging (1)
PackageIndex.cs (1)
39.Select(packageIndexFileInfo => $"{packageIndexFileInfo.FullName}:{packageIndexFileInfo.Length}:{packageIndexFileInfo.LastWriteTimeUtc.Ticks}"));
Microsoft.DotNet.Helix.JobSender (11)
Payloads\ArchivePayload.cs (6)
32Archive.FullName)); 36var alreadyUploadedFile = new FileInfo($"{Archive.FullName}.payload"); 39log?.Invoke($"Using previously uploaded payload for {Archive.FullName}"); 40return File.ReadAllText(alreadyUploadedFile.FullName); 43using (var stream = File.OpenRead(Archive.FullName)) 46File.WriteAllText(alreadyUploadedFile.FullName, zipUri.AbsoluteUri);
Payloads\DirectoryPayload.cs (5)
31public string NormalizedDirectoryPath => s_helpers.RemoveTrailingSlash(DirectoryInfo.FullName); 50return File.ReadAllText(alreadyUploadedFile.FullName); 61file.FullName.Substring(basePath.Length + 1); // +1 prevents it from including the leading backslash 69zip.CreateEntryFromFile(file.FullName, zipEntryName); 75File.WriteAllText(alreadyUploadedFile.FullName, zipUri.AbsoluteUri);
Microsoft.DotNet.Helix.Sdk (7)
CommandPayload.cs (3)
56var scriptFile = new FileInfo(Path.Combine(Directory.FullName, name)); 58File.WriteAllText(scriptFile.FullName, contents.ToString(), s_utf8NoBom); 66directory = Directory.FullName;
DownloadFromResultsContainer.cs (4)
53using (FileStream stream = File.Open(Path.Combine(directory.FullName, MetadataFile), FileMode.Create, FileAccess.Write)) 61await Task.WhenAll(WorkItems.Select(wi => DownloadFilesForWorkItem(wi, directory.FullName, _cancellationSource.Token))); 82string destinationFile = Path.Combine(destinationDir.FullName, file); 86Directory.CreateDirectory(Path.Combine(destinationDir.FullName, Path.GetDirectoryName(file)));
Microsoft.DotNet.Internal.SymbolHelper (2)
SymbolUploadHelper.cs (2)
269string packageExtractDir = packageDirInfo.FullName; 326logger.Information("Cleaning up temporary directory {0}", packageDirInfo.FullName);
Microsoft.DotNet.Open.Api.Tools.Tests (2)
OpenApiAddFileTests.cs (2)
95projXml.Load(csproj.FullName); 120projXml.Load(csproj.FullName);
Microsoft.DotNet.SwaggerGenerator.CmdLine (2)
Program.cs (2)
107string fullPath = Path.Combine(outputDirectory.FullName, path); 110File.WriteAllText(file.FullName, contents);
Microsoft.DotNet.SwaggerGenerator.MSBuild (4)
GenerateSwaggerCode.cs (4)
85string fullPath = Path.Combine(outputDirectory.FullName, path); 88Log.LogMessage(MessageImportance.Normal, $"Writing file '{file.FullName}'"); 89File.WriteAllText(file.FullName, contents); 90generatedFiles.Add(new TaskItem(file.FullName));
Microsoft.Extensions.AI.Evaluation.Console (4)
Commands\CleanCacheCommand.cs (1)
25string storageRootPath = storageRootDir.FullName;
Commands\CleanResultsCommand.cs (1)
30string storageRootPath = storageRootDir.FullName;
Commands\ReportCommand.cs (2)
35string storageRootPath = storageRootDir.FullName; 79string outputFilePath = outputFile.FullName;
Microsoft.Extensions.AI.Evaluation.Reporting (4)
Storage\DiskBasedResultStore.cs (4)
76string.Format(CultureInfo.CurrentCulture, DeserializationFailedMessage, resultFile.FullName)) 97var resultFile = new FileInfo(Path.Combine(resultDir.FullName, $"{result.IterationName}.json")); 302var scenarioDir = new DirectoryInfo(Path.Combine(executionDir.FullName, scenarioName)); 338var resultFile = new FileInfo(Path.Combine(scenarioDir.FullName, $"{iterationName}.json"));
Microsoft.Extensions.AI.Templates.Tests (1)
Infrastructure\WellKnownPaths.cs (1)
60directory = Directory.GetParent(directory)?.FullName;
Microsoft.Extensions.ApiDescription.Tool.Tests (36)
GetDocumentTests.cs (36)
35"--output", outputPath.FullName, 36"--file-list", Path.Combine(outputPath.FullName, "file-list.cache") 40using var stream = new MemoryStream(File.ReadAllBytes(Path.Combine(outputPath.FullName, "Sample.json"))); 61"--output", outputPath.FullName, 62"--file-list", Path.Combine(outputPath.FullName, "file-list.cache"), 67using var stream = new MemoryStream(File.ReadAllBytes(Path.Combine(outputPath.FullName, "Sample.json"))); 87"--output", outputPath.FullName, 88"--file-list", Path.Combine(outputPath.FullName, "file-list.cache"), 94using var stream = new MemoryStream(File.ReadAllBytes(Path.Combine(outputPath.FullName, "Sample.json"))); 114"--output", outputPath.FullName, 115"--file-list", Path.Combine(outputPath.FullName, "file-list.cache"), 120var expectedDocumentPath = Path.Combine(outputPath.FullName, "Sample_internal.json"); 123var documentNames = Directory.GetFiles(outputPath.FullName).Where(documentName => documentName.EndsWith(".json", StringComparison.Ordinal)).ToList(); 127using var stream = new MemoryStream(File.ReadAllBytes(Path.Combine(outputPath.FullName, "Sample_internal.json"))); 148"--output", outputPath.FullName, 149"--file-list", Path.Combine(outputPath.FullName, "file-list.cache"), 155Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample.json"))); 156Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample_internal.json"))); 157Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample_invalid.json"))); 177"--output", outputPath.FullName, 178"--file-list", Path.Combine(outputPath.FullName, "file-list.cache"), 183Assert.True(File.Exists(Path.Combine(outputPath.FullName, $"{fileName}.json"))); 184Assert.True(File.Exists(Path.Combine(outputPath.FullName, $"{fileName}_internal.json"))); 185Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample.json"))); 186Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample_internal.json"))); 204"--output", outputPath.FullName, 205"--file-list", Path.Combine(outputPath.FullName, "file-list.cache"), 212Assert.False(File.Exists(Path.Combine(outputPath.FullName, $"{fileName}.json"))); 213Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample.json"))); 214Assert.False(File.Exists(Path.Combine(outputPath.FullName, "Sample_internal.json"))); 230"--output", outputPath.FullName, 231"--file-list", Path.Combine(outputPath.FullName, "file-list.cache"), 236Assert.False(File.Exists(Path.Combine(outputPath.FullName, ".json"))); 237Assert.False(File.Exists(Path.Combine(outputPath.FullName, "_internal.json"))); 238Assert.True(File.Exists(Path.Combine(outputPath.FullName, "Sample.json"))); 239Assert.True(File.Exists(Path.Combine(outputPath.FullName, "Sample_internal.json")));
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (7)
Linux\Resources\HardcodedValueFileSystem.cs (7)
27_fileContent = fileContent.ToDictionary(static x => x.Key.FullName, static y => y.Value, StringComparer.OrdinalIgnoreCase); 33return _fileContent.ContainsKey(fileInfo.FullName); 47if (_fileContent.Count == 0 || !_fileContent.TryGetValue(file.FullName, out var content)) 61if (_fileContent.Count == 0 || !_fileContent.TryGetValue(file.FullName, out var content)) 75if (_fileContent.Count != 0 && _fileContent.TryGetValue(file.FullName, out var content)) 92_fileContent[file.FullName] = value; 97bool flag = !_fileContent.TryGetValue(file.FullName, out var content);
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalDirectoryInfo.cs (1)
46public string PhysicalPath => _info.FullName;
PhysicalFileInfo.cs (1)
32public string PhysicalPath => _info.FullName;
Microsoft.Extensions.FileSystemGlobbing (6)
Abstractions\DirectoryInfoWrapper.cs (5)
77new DirectoryInfo(Path.Combine(_directoryInfo.FullName, name)), 96$"More than one sub directories are found under {_directoryInfo.FullName} with name {name}."); 103=> new FileInfoWrapper(new FileInfo(Path.Combine(_directoryInfo.FullName, name))); 112/// Equals the value of <seealso cref="System.IO.FileSystemInfo.FullName" />. 114public override string FullName => _directoryInfo.FullName;
Abstractions\FileInfoWrapper.cs (1)
41public override string FullName => _fileInfo.FullName;
Microsoft.Extensions.SecretManager.Tools.Tests (4)
TemporaryFileProvider.cs (1)
14Root = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), "tmpfiles", Guid.NewGuid().ToString())).FullName;
UserSecretsTestFixture.cs (3)
63Path.Combine(projectPath.FullName, "TestProject.csproj"), 77_disposables.Push(() => TryDelete(projectPath.FullName)); 79return projectPath.FullName;
Microsoft.Maui.Resizetizer (10)
AndroidAdaptiveIconGenerator.cs (3)
66 var dir = Path.Combine(fullIntermediateOutputPath.FullName, dpi.Path); 110 var dir = Path.Combine(fullIntermediateOutputPath.FullName, dpi.Path); 143 var dir = Path.Combine(fullIntermediateOutputPath.FullName, "mipmap-anydpi-v26");
ResizeImageInfo.cs (6)
83 throw new FileNotFoundException("Unable to find background file: " + fileInfo.FullName, fileInfo.FullName); 85 info.Filename = fileInfo.FullName; 122 throw new FileNotFoundException("Unable to find foreground file: " + fgFileInfo.FullName, fgFileInfo.FullName); 124 info.ForegroundFilename = fgFileInfo.FullName;
Resizer.cs (1)
53 destination = Path.Combine(fullIntermediateOutputPath.FullName, destination);
Microsoft.ML.AutoML (4)
Experiment\ModelContainer.cs (2)
27using (var fs = File.Create(fileInfo.FullName)) 43using (var stream = new FileStream(_fileInfo.FullName, FileMode.Open, FileAccess.Read, FileShare.Read))
Experiment\Runners\RunnerUtil.cs (1)
58new FileInfo(Path.Combine(modelDirectory.FullName, $"Model{iterationNum}_{foldNum}.zip"));
Experiment\Runners\TrainValidateRunner.cs (1)
66new FileInfo(Path.Combine(modelDirectory.FullName, $"Model{iterationNum}.zip"));
Microsoft.ML.AutoML.Tests (1)
DatasetUtil.cs (1)
237DatasetUtil).Assembly.Location).Directory.FullName, relativePath);
Microsoft.ML.Core.Tests (5)
UnitTests\FileSource.cs (5)
30var dirName = Directory.CreateDirectory("MultiFileSourceUnitTest").FullName; 55var dataDir = Directory.CreateDirectory("MultiFileSourceUnitTest/Data").FullName; 63var dataFolderDir = Directory.CreateDirectory("MultiFileSourceUnitTest/DataFolder").FullName; 64var subFolder1Dir = Directory.CreateDirectory("MultiFileSourceUnitTest/DataFolder/SubFolder1").FullName; 65var subFolder2Dir = Directory.CreateDirectory("MultiFileSourceUnitTest/DataFolder/SubFolder2").FullName;
Microsoft.ML.IntegrationTests (1)
IntegrationTestBaseClass.cs (1)
49OutDir = Path.Combine(currentAssemblyLocation.Directory.FullName, "TestOutput");
Microsoft.ML.PerformanceTests (3)
Harness\ProjectGenerator.cs (2)
57<ProjectReference Include=""{GetProjectFilePath(buildPartition.RepresentativeBenchmarkCase.Descriptor.Type, logger).FullName}"" /> 70return string.Join(Environment.NewLine, File.ReadAllLines(csproj.FullName).Where(line => line.Contains("<NativeAssemblyReference")));
ImageClassificationBench.cs (1)
211string assemblyFolderPath = dataRoot.Directory.FullName;
Microsoft.ML.Samples (4)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
312string assemblyFolderPath = _dataRoot.Directory.FullName;
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
353string assemblyFolderPath = _dataRoot.Directory.FullName;
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
309string assemblyFolderPath = _dataRoot.Directory.FullName;
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
330string assemblyFolderPath = _dataRoot.Directory.FullName;
Microsoft.ML.Samples.GPU (4)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
312string assemblyFolderPath = _dataRoot.Directory.FullName;
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
353string assemblyFolderPath = _dataRoot.Directory.FullName;
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
309string assemblyFolderPath = _dataRoot.Directory.FullName;
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
330string assemblyFolderPath = _dataRoot.Directory.FullName;
Microsoft.ML.SamplesUtils (1)
SamplesDatasetUtils.cs (1)
29directory = Directory.GetParent(directory).FullName;
Microsoft.ML.SearchSpace.Tests (2)
TestBase.cs (2)
41return Path.Combine(testDataDir.FullName, fileName).Replace(cwd, "."); 53return Path.Combine(testDataDir.FullName, folderName).Replace(cwd, ".");
Microsoft.ML.TestFramework (2)
CopyAction.cs (2)
31file.CopyTo(destFile.FullName, true); 34file.CopyTo(destFile.FullName, true);
Microsoft.ML.TestFrameworkCommon (1)
TestCommon.cs (1)
78directory = Directory.GetParent(directory).FullName;
Microsoft.VisualBasic.Core (6)
Microsoft\VisualBasic\CompilerServices\VB6File.vb (1)
392m_sFullPath = (New FileInfo(sPath)).FullName
Microsoft\VisualBasic\FileIO\FileSystem.vb (2)
1498Return DInfo.GetFiles(IO.Path.GetFileName(FullPath))(0).FullName 1502Return DInfo.GetDirectories(IO.Path.GetFileName(FullPath))(0).FullName
Microsoft\VisualBasic\FileSystem.vb (3)
405FileName = file.FullName 1323Result = (New FileInfo(sPath)).FullName 1392FileName = (New FileInfo(FileName)).FullName
Microsoft.VisualBasic.Tests (3)
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (3)
350Assert.Equal(info.FullName, TestDirectory); 381Assert.Equal(info.FullName, FileInfoFromSystemIO.FullName);
MSBuild (5)
BuildEnvironmentHelper.cs (2)
584=> currentToolsDirectory.Parent?.FullName, 597MSBuildToolsDirectoryRoot = currentToolsDirectory.Parent?.FullName;
FileUtilities.cs (1)
1292return parent?.FullName ?? path;
MSBuildLoadContext.cs (1)
35_directory = Directory.GetParent(assemblyPath)!.FullName;
TempFileUtilities.cs (1)
216CopyDirectory(subdirInfo.FullName, destDir);
MSBuildTaskHost (3)
BuildEnvironmentHelper.cs (2)
584=> currentToolsDirectory.Parent?.FullName, 597MSBuildToolsDirectoryRoot = currentToolsDirectory.Parent?.FullName;
FileUtilities.cs (1)
1292return parent?.FullName ?? path;
PresentationCore (1)
MS\Internal\FontCache\DWriteFactory.cs (1)
63localPath = Directory.GetParent(fontCollectionUri.LocalPath).FullName + Path.DirectorySeparatorChar;
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
389templateList.Add(new Uri(file.FullName));
ResultsOfTGenerator (2)
Program.cs (2)
214Console.WriteLine($"{file.Length:N0} bytes written to {file.FullName} successfully!"); 300Console.WriteLine($"{file.Length:N0} bytes written to {file.FullName} successfully!");
Roslyn.Compilers.Extension (1)
CompilerPackage.cs (1)
107if (!filesToWrite.ContainsKey(file.FullName))
RulesetToEditorconfigConverter.UnitTests (4)
RulesetToEditorconfigConverterTests.cs (4)
22var ruleset = Path.Combine(directory.FullName, PrimaryRulesetName); 28var includedRuleset = Path.Combine(directory.FullName, IncludedRulesetName); 32var editorconfigPath = Path.Combine(directory.FullName, ".editorconfig"); 45Directory.Delete(directory.FullName, recursive: true);
ServerComparison.FunctionalTests (2)
Helpers.cs (2)
19var solutionFileInfo = new FileInfo(Path.Combine(directoryInfo.FullName, "FunctionalTests.slnf")); 22return Path.GetFullPath(Path.Combine(directoryInfo.FullName, "..", "..", "testassets", "ServerComparison.TestSites"));
StaticFilesAuth (4)
Startup.cs (4)
52return string.Equals(directory.FullName, basePath, StringComparison.OrdinalIgnoreCase) 53|| string.Equals(directory.FullName, usersPath, StringComparison.OrdinalIgnoreCase) 54|| string.Equals(directory.FullName, userPath, StringComparison.OrdinalIgnoreCase) 55|| directory.FullName.StartsWith(userPath + Path.DirectorySeparatorChar, StringComparison.OrdinalIgnoreCase);
System.CodeDom (1)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
160return Directory.CreateTempSubdirectory().FullName;
System.Configuration.ConfigurationManager (2)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
160return Directory.CreateTempSubdirectory().FullName;
System\Configuration\LocalFileSettingsProvider.cs (1)
327file = Path.Combine(previousDirectory.FullName, ConfigurationManagerInternalFactory.Instance.UserConfigFilename);
System.Formats.Tar (4)
System\Formats\Tar\TarFile.cs (4)
337writer.WriteEntry(di.FullName, GetEntryNameForBaseDirectory(di.Name)); 392await writer.WriteEntryAsync(di.FullName, GetEntryNameForBaseDirectory(di.Name), cancellationToken).ConfigureAwait(false); 445includeBaseDirectory && di.Parent != null ? di.Parent.FullName : di.FullName;
System.IO.Compression.ZipFile (4)
System\IO\Compression\ZipFile.Create.cs (3)
513string basePath = di.FullName; 517basePath = di.Parent.FullName; 520FileSystemEnumerable<(string, CreateEntryType)> fse = CreateEnumerableForCreate(di.FullName);
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.cs (1)
115string destinationDirectoryFullPath = di.FullName;
System.IO.Packaging (1)
System\IO\Packaging\Package.cs (1)
884package = new ZipPackage(packageFileInfo.FullName, packageMode, packageAccess, packageShare);
System.IO.Ports (4)
System\IO\Ports\SerialPort.Unix.cs (4)
56(File.Exists(entry.FullName + "/device/id") || 57Directory.Exists(entry.FullName + "/device/of_node"))) || 58(!isTtyS && Directory.Exists(entry.FullName + "/device/tty")) || 60(isTtyGS && (File.Exists(entry.FullName + "/dev"))))
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (4)
163if (!new DirectoryInfo(Path.GetDirectoryName(FullName)!).Exists) 164throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, FullName)); 167throw new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, FullName), FullName);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystemInfo.cs (3)
110/// If a link does not exist in <see cref="FullName"/>, or this instance does not represent a link, returns <see langword="null"/>. 149/// Creates a symbolic link located in <see cref="FullName"/> that points to the specified <paramref name="pathToTarget"/>. 158/// <exception cref="IOException">A file or directory already exists in the location of <see cref="FullName"/>.
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\OpenSslCachedDirectoryStoreProvider.cs (1)
62Interop.Crypto.X509StackAddDirectoryStore(newColl, info.FullName);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
172string fullPath = file.FullName;
System.Windows.Forms.IntegrationTests.Common (2)
TestHelpers.cs (2)
223string repoRoot = Directory.GetParent(gitPath).FullName; 254currentDirectory = Directory.GetParent(currentDirectory).FullName;
Templates.Blazor.Tests (5)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
488Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
464Log.DirectoryPermissionsNotSecure(dirInfo.FullName); 903if (!TryGetOpenSslHash(cert.FullName, out var hash)) 923Log.UnixOpenSslRehashTooManyHashes(cert.FullName, hash, MaxHashCollisions);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
163Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
Templates.Blazor.WebAssembly.Auth.Tests (5)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
488Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
464Log.DirectoryPermissionsNotSecure(dirInfo.FullName); 903if (!TryGetOpenSslHash(cert.FullName, out var hash)) 923Log.UnixOpenSslRehashTooManyHashes(cert.FullName, hash, MaxHashCollisions);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
163Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
Templates.Blazor.WebAssembly.Tests (5)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
488Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
464Log.DirectoryPermissionsNotSecure(dirInfo.FullName); 903if (!TryGetOpenSslHash(cert.FullName, out var hash)) 923Log.UnixOpenSslRehashTooManyHashes(cert.FullName, hash, MaxHashCollisions);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
163Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
Templates.Mvc.Tests (5)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
488Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
464Log.DirectoryPermissionsNotSecure(dirInfo.FullName); 903if (!TryGetOpenSslHash(cert.FullName, out var hash)) 923Log.UnixOpenSslRehashTooManyHashes(cert.FullName, hash, MaxHashCollisions);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
163Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
Templates.Tests (5)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
488Log.DirectoryPermissionsNotSecure(dirInfo.FullName);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
464Log.DirectoryPermissionsNotSecure(dirInfo.FullName); 903if (!TryGetOpenSslHash(cert.FullName, out var hash)) 923Log.UnixOpenSslRehashTooManyHashes(cert.FullName, hash, MaxHashCollisions);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
163Log.DirectoryPermissionsNotSecure(dirInfo.FullName);