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