14 references to MultipleProjectFilesFound
aspire (4)
Projects\ProjectLocator.cs (4)
988
throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound, ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
1159
MultipleAppHostProjectsFoundBehavior.Throw => throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound, ProjectLocatorFailureReason.
MultipleProjectFilesFound
),
1413
ProjectLocatorFailureReason.
MultipleProjectFilesFound
when projectOptionSpecifiedAsDirectory
1423
ProjectLocatorFailureReason.
MultipleProjectFilesFound
Aspire.Cli.Tests (10)
Backchannel\AppHostConnectionResolverTests.cs (1)
117
throw new ProjectLocatorException("multiple", ProjectLocatorFailureReason.
MultipleProjectFilesFound
)
Commands\ResourceCommandTests.cs (1)
171
throw new ProjectLocatorException("multiple", ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
Commands\RunCommandTests.cs (4)
1952
throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
1957
throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
1962
throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.", Aspire.Cli.Projects.ProjectLocatorFailureReason.
MultipleProjectFilesFound
);
1967
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)
3109
Assert.Equal(ProjectLocatorFailureReason.
MultipleProjectFilesFound
, ex.FailureReason);
3156
Assert.Equal(ProjectLocatorFailureReason.
MultipleProjectFilesFound
, ex.FailureReason);
3212
Assert.Equal(ProjectLocatorFailureReason.
MultipleProjectFilesFound
, ex.FailureReason);