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