24 references to SetConfigurationInFileAsync
aspire (4)
Configuration\ConfigurationService.cs (1)
33await SetConfigurationInFileAsync(settingsFilePath, key, value, cancellationToken);
Projects\ProjectLocator.cs (3)
1344await ConfigurationService.SetConfigurationInFileAsync(settingsFile.FullName, AspireConfigAppHostPathKey, relativePathToProjectFile, cancellationToken); 1350await ConfigurationService.SetConfigurationInFileAsync(settingsFile.FullName, "appHost.language", language.LanguageId.Value, cancellationToken); 1361await ConfigurationService.SetConfigurationInFileAsync(settingsFile.FullName, "sdk.version", inheritedSdkVersion, cancellationToken);
Aspire.Cli.Tests (20)
Commands\ConfigSourceCommandTests.cs (11)
155await ConfigurationService.SetConfigurationInFileAsync( 157await ConfigurationService.SetConfigurationInFileAsync( 340await ConfigurationService.SetConfigurationInFileAsync(path, "skillSources.team.repository", "example/local"); 341await ConfigurationService.SetConfigurationInFileAsync(path, "appHost.path", "apphost.cs"); 434await ConfigurationService.SetConfigurationInFileAsync(rootPath, "appHost.path", "AppHost/apphost.cs"); 521await ConfigurationService.SetConfigurationInFileAsync(parentPath, "appHost.path", "selected-project/apphost.cs"); 827await ConfigurationService.SetConfigurationInFileAsync(parentPath, "appHost.path", "A/apphost.cs"); 863await ConfigurationService.SetConfigurationInFileAsync( 898await ConfigurationService.SetConfigurationInFileAsync(parentPath, "appHost.path", "selected/AppHost/apphost.cs"); 1068await ConfigurationService.SetConfigurationInFileAsync(path, "skillSources.team.repository", "example/local"); 1129await ConfigurationService.SetConfigurationInFileAsync(configPath, "skillSources.team.repository", "example/local");
Configuration\ConfigSourceServiceTests.cs (9)
243await ConfigurationService.SetConfigurationInFileAsync(path, "custom", directory.Name); 246await ConfigurationService.SetConfigurationInFileAsync(globalFile.FullName, "docs.custom", global.Name); 1061await ConfigurationService.SetConfigurationInFileAsync(path, "skillSources.local.repository", "example/local"); 1062await ConfigurationService.SetConfigurationInFileAsync(path, "skillSources.local.plugins.0", "existing"); 1063await ConfigurationService.SetConfigurationInFileAsync(path, "docs.llmsTxtUrl", "https://local.example/docs"); 1090await ConfigurationService.SetConfigurationInFileAsync(path, "skillSources.team.repository", "example/local"); 1091await ConfigurationService.SetConfigurationInFileAsync(path, "docs.llmsTxtUrl", "https://local.example/docs"); 1538await ConfigurationService.SetConfigurationInFileAsync(path, "custom", "intervening edit"); 1640await ConfigurationService.SetConfigurationInFileAsync(path, "skillSources.team.repository", "example/local");