14 instantiations of TemplateDiscoveryException
aspire (14)
Templating\TemplateEngineFactory.cs (8)
62throw new TemplateDiscoveryException(CliExitCodes.InvalidCommand, 82throw new TemplateDiscoveryException(CliExitCodes.FailedToInstallTemplates, 100throw new TemplateDiscoveryException(CliExitCodes.InvalidCommand, 117throw new TemplateDiscoveryException(CliExitCodes.InvalidCommand, NewCommandStrings.TemplateRepositoryPathInvalid); 165throw new TemplateDiscoveryException(CliExitCodes.FailedToInstallTemplates, 173throw new TemplateDiscoveryException(CliExitCodes.FailedToInstallTemplates, message); 234throw new TemplateDiscoveryException(CliExitCodes.InvalidCommand, NewCommandStrings.TemplateRepositoryPathInvalid); 240throw new TemplateDiscoveryException(CliExitCodes.InvalidCommand,
Templating\TemplateEngineFactory.NuGetValues.cs (5)
65throw new TemplateDiscoveryException(CliExitCodes.FailedToCreateNewProject, 76throw new TemplateDiscoveryException(CliExitCodes.FailedToCreateNewProject, 106throw new TemplateDiscoveryException(CliExitCodes.FailedToCreateNewProject, TemplatingStrings.TemplateNuGetConfigurationChanged); 138throw new TemplateDiscoveryException(CliExitCodes.InvalidCommand, 156throw new TemplateDiscoveryException(CliExitCodes.InvalidCommand, TemplatingStrings.TemplateStagingLinkNotSupported);
Templating\TemplateHostConfiguration.cs (1)
132throw new TemplateDiscoveryException(CliExitCodes.InvalidCommand,
15 references to TemplateDiscoveryException
aspire (1)
Commands\NewCommand.cs (1)
674catch (TemplateDiscoveryException ex)
Aspire.Cli.Tests (14)
Commands\NewCommandLocalTemplateTests.cs (4)
1748var exception = await Assert.ThrowsAsync<TemplateDiscoveryException>(() => 1827var exception = await Assert.ThrowsAsync<TemplateDiscoveryException>(() => templateProvider.GetTemplatesAsync(source));
Templating\TemplateEngineFactoryGitCheckoutTests.cs (2)
83var exception = await Assert.ThrowsAsync<TemplateDiscoveryException>(() => GetFactory(provider).GetTemplatesAsync(
Templating\TemplateEngineFactoryGitTests.cs (8)
58var exception = await Assert.ThrowsAsync<TemplateDiscoveryException>(() => 79var exception = await Assert.ThrowsAsync<TemplateDiscoveryException>(() => 141var exception = await Assert.ThrowsAsync<TemplateDiscoveryException>(() => 166var exception = await Assert.ThrowsAsync<TemplateDiscoveryException>(() =>