14 references to MultipleProjectFilesFound
aspire (4)
Projects\ProjectLocator.cs (4)
990throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound, ProjectLocatorFailureReason.MultipleProjectFilesFound); 1167MultipleAppHostProjectsFoundBehavior.Throw => throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound, ProjectLocatorFailureReason.MultipleProjectFilesFound), 1414ProjectLocatorFailureReason.MultipleProjectFilesFound when projectOptionSpecifiedAsDirectory 1424ProjectLocatorFailureReason.MultipleProjectFilesFound
Aspire.Cli.Tests (10)
Backchannel\AppHostConnectionResolverTests.cs (1)
196throw new ProjectLocatorException("multiple", ProjectLocatorFailureReason.MultipleProjectFilesFound)
Commands\ResourceCommandTests.cs (1)
171throw new ProjectLocatorException("multiple", ProjectLocatorFailureReason.MultipleProjectFilesFound);
Commands\RunCommandTests.cs (4)
2562throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.MultipleProjectFilesFound); 2567throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.MultipleProjectFilesFound); 2572throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.MultipleProjectFilesFound); 2577throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.MultipleProjectFilesFound);
Commands\StopCommandTests.cs (1)
1412throw new ProjectLocatorException("Multiple project files found.", ProjectLocatorFailureReason.MultipleProjectFilesFound)
Projects\ProjectLocatorTests.cs (3)
3193Assert.Equal(ProjectLocatorFailureReason.MultipleProjectFilesFound, ex.FailureReason); 3240Assert.Equal(ProjectLocatorFailureReason.MultipleProjectFilesFound, ex.FailureReason); 3296Assert.Equal(ProjectLocatorFailureReason.MultipleProjectFilesFound, ex.FailureReason);