14 references to MultipleProjectFilesFound
aspire (4)
Projects\ProjectLocator.cs (4)
982
throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound, ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
1159
MultipleAppHostProjectsFoundBehavior.Throw => throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound, ProjectLocatorFailureReason.
MultipleProjectFilesFound
),
1430
ProjectLocatorFailureReason.
MultipleProjectFilesFound
when projectOptionSpecifiedAsDirectory
1440
ProjectLocatorFailureReason.
MultipleProjectFilesFound
Aspire.Cli.Tests (10)
Backchannel\AppHostConnectionResolverTests.cs (1)
114
throw new ProjectLocatorException("multiple", ProjectLocatorFailureReason.
MultipleProjectFilesFound
)
Commands\ResourceCommandTests.cs (1)
171
throw new ProjectLocatorException("multiple", ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
Commands\RunCommandTests.cs (4)
2505
throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
2510
throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
2515
throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
2520
throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
Commands\StopCommandTests.cs (1)
1138
throw new ProjectLocatorException("Multiple project files found.", ProjectLocatorFailureReason.
MultipleProjectFilesFound
)
Projects\ProjectLocatorTests.cs (3)
3191
Assert.Equal(ProjectLocatorFailureReason.
MultipleProjectFilesFound
, ex.FailureReason);
3238
Assert.Equal(ProjectLocatorFailureReason.
MultipleProjectFilesFound
, ex.FailureReason);
3294
Assert.Equal(ProjectLocatorFailureReason.
MultipleProjectFilesFound
, ex.FailureReason);