178 references to GetFolderPath
aspire (20)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (2)
28private static readonly string s_macOSUserKeychain = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "/Library/Keychains/login.keychain-db"; 36private static readonly string s_macOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
Certificates\CertificateGeneration\UnixCertificateManager.cs (3)
160var nssDbs = GetNssDbs(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)); 257var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 488var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)!;
Certificates\CertificateHelpers.cs (2)
33Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 39Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
CliExecutionContext.cs (1)
165public DirectoryInfo HomeDirectory { get; } = homeDirectory ?? new DirectoryInfo(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile));
Projects\DotNetBasedAppHostServerProject.cs (1)
762var userProfile = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Projects\ProjectUpdater.cs (2)
213return path.StartsWith(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), StringComparison.Ordinal); 217var globalNuGetFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nuget");
Projects\TypeScriptAppHostToolchainResolver.cs (1)
509homeDirectory ??= Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
src\Shared\AspireHomeDirectory.cs (1)
23Environment.GetFolderPath(Environment.SpecialFolder.UserProfile));
src\Shared\UserSecrets\UserSecretsPathHelper.cs (2)
37?? Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) 38?? Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)
Telemetry\InternalMicrosoftDetector.cs (1)
1635Environment.GetFolderPath(folder);
Telemetry\LinuxMachineInformationProvider.cs (1)
29var rootPath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Telemetry\MacOSXMachineInformationProvider.cs (1)
30var userDir = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Telemetry\TelemetryManager.cs (1)
237var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Utils\CliPathHelper.cs (1)
347var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
aspire-managed (1)
NuGet\Commands\NuGetPackageAssetResolver.cs (1)
126Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Aspire.Cli.EndToEnd.Tests (3)
Helpers\KubernetesDeployTestHelpers.cs (1)
469Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "bin", "kind");
KubernetesPublishTests.cs (1)
299cleanupProcess.StartInfo.FileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "bin", "kind");
ProjectReferenceTests.cs (1)
73Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspire");
Aspire.Cli.Tests (6)
Acquisition\InstallationDiscoveryDiscoverAllTests.cs (1)
984/// <see cref="Environment.GetFolderPath(Environment.SpecialFolder)"/>
Projects\ProjectUpdaterTests.cs (1)
1637Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "NuGet", "NuGet.Config")
TestServices\TestDotNetCliRunner.cs (2)
91PlatformID.Win32NT => [Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "NuGet", "NuGet.Config")], 92_ => [Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nuget", "NuGet.Config")],
Utils\CliPathHelperTests.cs (2)
32var expectedDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspire", "cli", "bch"); 50var expectedDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspire", "cli", "bch");
Aspire.Dashboard (1)
src\Shared\AspireHomeDirectory.cs (1)
23Environment.GetFolderPath(Environment.SpecialFolder.UserProfile));
Aspire.Deployment.EndToEnd.Tests (1)
Helpers\DeploymentE2ETestHelpers.cs (1)
187var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Aspire.Hosting (8)
Backchannel\AuxiliaryBackchannelService.cs (1)
47Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Devcontainers\DevcontainerSettingsWriter.cs (1)
39Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
DeveloperCertificateService.cs (1)
149Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspire", "dev-certs", "https");
Lifecycle\TerminalHostOrphanCleanupService.cs (1)
67var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Pipelines\Internal\FileDeploymentStateManager.cs (1)
216Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
src\Shared\UserSecrets\UserSecretsPathHelper.cs (2)
37?? Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) 38?? Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)
TerminalResourceBuilderExtensions.cs (1)
185var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Aspire.Hosting.Azure.Tests (1)
AzureDeployerTests.cs (1)
1685Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Aspire.Hosting.Browsers (8)
BrowserLogsArtifacts.cs (3)
115Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), 123Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 133: Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share");
BrowserUserDataPathResolver.cs (3)
77Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), 85Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 97: Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share");
ChromiumBrowserResolver.cs (2)
234var programFiles = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); 235var programFilesX86 = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
Aspire.Hosting.Browsers.Tests (8)
src\Aspire.Hosting.Browsers\BrowserLogsArtifacts.cs (3)
115Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), 123Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 133: Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share");
src\Aspire.Hosting.Browsers\BrowserUserDataPathResolver.cs (3)
77Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), 85Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 97: Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share");
src\Aspire.Hosting.Browsers\ChromiumBrowserResolver.cs (2)
234var programFiles = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); 235var programFilesX86 = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
Aspire.Hosting.Radius (1)
Publishing\SealedSecretApplyStep.cs (1)
672var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Aspire.Hosting.Sdk.Tests (1)
AppHostSdkTargetsTests.cs (1)
1635Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86),
Aspire.Hosting.Tasks (1)
ResolveAspireCliBundle.cs (1)
462? Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspire")
Aspire.Hosting.Tests (8)
Backchannel\AuxiliaryBackchannelTests.cs (1)
733var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
DistributedApplicationBuilderTests.cs (6)
583Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 605Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 679Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 738Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 802Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), 863Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Publishing\DeploymentStateManagerTests.cs (1)
458Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Aspire.Hosting.TestUtilities (1)
Utils\UnixSocketHelper.cs (1)
12var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Aspire.Playground.Tests (1)
tests\Aspire.TestUtilities\TestcontainersPodmanConfiguration.cs (1)
74Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Aspire.TestUtilities (1)
TestcontainersPodmanConfiguration.cs (1)
74Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
dotnet-aot (6)
parent\dotnet\CommandFactory\CommandResolution\WindowsExePreferredCommandSpecFactory.cs (1)
51var comSpec = Environment.GetEnvironmentVariable("ComSpec") ?? Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "cmd.exe");
parent\dotnet\Telemetry\DevDeviceIDGetter.cs (4)
60cacheFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".cache", "deviceid"); 71string cacheFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Microsoft", "DeveloperTools", "deviceid"); 108cacheFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".cache", "deviceid"); 116string cacheFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Microsoft", "DeveloperTools", "deviceid");
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
59home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
dotnet-dev-certs (5)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
26private static readonly string MacOSUserKeychain = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "/Library/Keychains/login.keychain-db"; 34private static readonly string MacOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
137var nssDbs = GetNssDbs(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)); 233var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 464var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)!;
dotnet-suggest (1)
FileSuggestionRegistration.cs (1)
32var userProfile = GetFolderPath(SpecialFolder.UserProfile);
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
416 Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
416 Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
Microsoft.AspNetCore.DataProtection (2)
Repositories\DefaultKeyStorageDirectories.cs (2)
37var localAppDataFromSystemPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); 39var homePath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (5)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
26private static readonly string MacOSUserKeychain = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "/Library/Keychains/login.keychain-db"; 34private static readonly string MacOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
137var nssDbs = GetNssDbs(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)); 233var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 464var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)!;
Microsoft.AspNetCore.Server.IntegrationTesting (1)
xunit\IISExpressAncmSchema.cs (1)
22Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles),
Microsoft.AspNetCore.Server.Kestrel.Core (6)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
26private static readonly string MacOSUserKeychain = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "/Library/Keychains/login.keychain-db"; 34private static readonly string MacOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
137var nssDbs = GetNssDbs(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)); 233var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 464var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)!;
TlsConfigurationLoader.cs (1)
191var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.Build (4)
BuildCheck\Checks\UntrustedLocationCheck.cs (1)
104return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Downloads");
ElementLocation\XmlDocumentWithLocation.cs (1)
364string windowsFolder = Environment.GetFolderPath(Environment.SpecialFolder.Windows);
Utilities\Utilities.cs (2)
560localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); 565localAppData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
Microsoft.Build.Framework (2)
Utilities\FrameworkLocationHelper.cs (2)
140internal static readonly string programFiles = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); 936string programFilesX86 = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
Microsoft.Build.Tasks.Core (2)
BootstrapperUtil\BootstrapperBuilder.cs (1)
2209Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
ManifestUtil\Util.cs (1)
267string logPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"Microsoft\VisualStudio\8.0\VSPLOG");
Microsoft.Build.Utilities.Core (2)
ToolLocationHelper.cs (2)
1626return Environment.GetFolderPath(Environment.SpecialFolder.System); 2900string userLocalAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\ProgramFilesAnalyzerPathResolver.cs (1)
34var programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (1)
158: Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.CodeAnalysis.Workspaces (5)
Log\WorkspaceStructureLogger.cs (1)
222return ReplacePathComponent(s, Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "%USERPROFILE%");
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\ProgramFilesAnalyzerPathResolver.cs (1)
34var programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Workspace\ProjectSystem\ReferenceFileChangeTracker.cs (2)
79referenceDirectories.Add(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), "Reference Assemblies", "Microsoft", "Framework")); 80referenceDirectories.Add(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "dotnet", "packs"));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.DotNet.Configurer (1)
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
59home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.DotNet.ProjectTools (1)
src\sdk\src\Cli\Microsoft.DotNet.FileBasedPrograms\VirtualProjectBuilder.cs (1)
157: Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.DotNet.TemplateLocator (1)
parent\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadInstallType.cs (1)
44return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "dotnet", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState");
Microsoft.Extensions.AI.Evaluation.Console (2)
Telemetry\DeviceIdHelper.cs (2)
140string userProfilePath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 158string userProfilePath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.Extensions.Configuration.UserSecrets (2)
PathHelper.cs (2)
72?? Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) 73?? Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)
Microsoft.Extensions.DependencyModel (1)
Resolution\PackageCompilationAssemblyResolver.cs (1)
59string basePath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.ML.Core (1)
Utilities\ResourceManagerUtils.cs (1)
205var appDataBaseDir = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Microsoft.ML.TestFrameworkCommon (1)
Utility\PathResolver.cs (1)
151return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nuget", "packages");
Microsoft.NET.Build.Containers (2)
ContentStore.cs (2)
102string userHomeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 110string userHomeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.NET.Build.Tasks (2)
parent\parent\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadInstallType.cs (1)
44return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "dotnet", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState");
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
59home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.NET.ProjectData (7)
CachePathResolver.cs (4)
1266 string userProfile = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 1293 string programFiles = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); 1305 string? userHome = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 1322 string programFilesX86 = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
UserFolderCachePath.cs (3)
90 string localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); 98 string home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 112 string home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.NET.ProjectData.Tasks (7)
CachePathResolver.cs (4)
295 string userProfile = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 319 string programFiles = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); 327 string userHome = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 352 string pfx86 = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
src\roslyn\src\ProjectData\Microsoft.NET.ProjectData\UserFolderCachePath.cs (3)
90 string localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); 98 string home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 112 string home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\MsDeploy\MSDeploy.cs (1)
274programFiles = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
Microsoft.NET.Sdk.Razor.Tasks (1)
parent\Tool\ServerProtocol\ServerConnection.cs (1)
82var userProfile = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Microsoft.NET.Sdk.WorkloadManifestReader (1)
WorkloadInstallType.cs (1)
44return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "dotnet", "workloads", architecture, sdkFeatureBand.ToString(), "InstallState");
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (1)
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
59home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
NuGet.Common (6)
Migrations\Migration1.cs (3)
61var homePath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 106var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 117var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Migrations\MigrationRunner.cs (2)
92return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "NuGet", "Migrations"); 98? Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share", "NuGet", "Migrations")
PathUtil\NuGetEnvironment.cs (1)
312return EnvironmentVariableReader.GetEnvironmentVariable(DotNetHome) ?? Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
PresentationUI (1)
MS\Internal\Documents\RightsManagementManager.cs (1)
856string systemPath = Environment.GetFolderPath(Environment.SpecialFolder.System);
RepoTasks (5)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
26private static readonly string MacOSUserKeychain = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "/Library/Keychains/login.keychain-db"; 34private static readonly string MacOSUserHttpsCertificateLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".aspnet", "dev-certs", "https");
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
137var nssDbs = GetNssDbs(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)); 233var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); 464var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)!;
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
99var parentPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
rzc (2)
ServerProtocol\ServerConnection.cs (1)
82var userProfile = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
src\sdk\src\Common\CliFolderPathCalculatorCore.cs (1)
59home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
System.Configuration.ConfigurationManager (2)
System\Configuration\ClientConfigPaths.cs (2)
155string roamingFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); 162string localFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
System.Windows.Forms (5)
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
17Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles),
System\Windows\Forms\Application.cs (3)
160=> GetDataPath(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)); 541=> GetDataPath(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)); 820=> GetDataPath(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData));
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
612string mshtmlPath = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.System), "mshtml.dll");
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\FolderNameEditor.FolderBrowserFolder.cs (1)
12/// <see cref="Environment.GetFolderPath(Environment.SpecialFolder)"/>.