4 instantiations of ToolManifestCannotBeFoundException
dotnet (3)
ToolManifest\ToolManifestFinder.cs (3)
44
throw new
ToolManifestCannotBeFoundException
(string.Format(CliStrings.CannotFindAManifestFile, string.Join(Environment.NewLine, allPossibleManifests.Select(f => "\t" + f.manifestfile.Value))));
210
throw new
ToolManifestCannotBeFoundException
(string.Format(CliStrings.CannotFindAManifestFile, string.Join(Environment.NewLine, EnumerateDefaultAllPossibleManifests().Select(f => "\t" + f.manifestfile.Value))));
297
throw new
ToolManifestCannotBeFoundException
(string.Format(CliStrings.CannotFindAManifestFile, string.Join(Environment.NewLine, EnumerateDefaultAllPossibleManifests().Select(f => "\t" + f.manifestfile.Value))));
dotnet.Tests (1)
CommandTests\Tool\Restore\ToolRestoreCommandTests.cs (1)
564
throw new
ToolManifestCannotBeFoundException
("In test cannot find manifest");
8 references to ToolManifestCannotBeFoundException
dotnet (2)
Commands\Tool\Common\ToolManifestFinderExtensions.cs (1)
30
catch (
ToolManifestCannotBeFoundException
e)
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
93
catch (
ToolManifestCannotBeFoundException
e)
dotnet.Tests (6)
CommandTests\Tool\Update\ToolUpdateLocalCommandTests.cs (1)
240
a.Should().Throw<
ToolManifestCannotBeFoundException
>().And.Message.Should()
ToolManifestTests\ToolManifestFinderTests.cs (5)
150
a.Should().Throw<
ToolManifestCannotBeFoundException
>().And.Message.Should()
256
a.Should().Throw<
ToolManifestCannotBeFoundException
>().And.Message.Should()
272
a.Should().Throw<
ToolManifestCannotBeFoundException
>().And.Message.Should()
439
a.Should().Throw<
ToolManifestCannotBeFoundException
>().And.Message.Should()
732
a.Should().Throw<
ToolManifestCannotBeFoundException
>().And.Message.Should()