question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to search for and install packages

See original GitHub issue

Nobody wants to manually edit MSBuild XML files to add package references. If you can dotnet restore then you should be able to dotnet search [query] to search the NuGet repo or at least dotnet install [package name] to install a package whose name you already know.

cc: @blackdwarf

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
NuclearFishincommented, Apr 16, 2017

Hi guys, I thought I would just comment on this one since the referenced issue dotnet/sdk#7041 has been closed, but that only pertains to adding packages and does not discuss search? Is a search feature being considered or have I just missed it? Things I checked so far:

  • The dotnet command
  • Intellisense within the .csproj file in Visual Studio Code
  • Google 😉

I think search would be a handy addition to the CLI, as the name of a NuGet package is not always obvious, eg Newtonsoft.Json. It’s a common feature among other package managers, eg: npm search, pip search, composer search. Thanks for your time!

0reactions
billprattcommented, Apr 5, 2018

Anyone looking for dotnet search please look here: https://github.com/billpratt/dotnet-search

Feedback welcome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Elegant way to check for missing packages and install them?
Yes. If you have your list of packages, compare it to the output from installed.packages()[,"Package"] and install the missing packages.
Read more >
Install.packages() without data sets. - General
I can see that for R CMD INSTALL you can pass --no-data, but I can't seem to find a way to add this...
Read more >
The Simple Way to Install a Package in R (with 8 Code ...
Click Tools → Install Packages; Select Repository (CRAN) in the Install from: slot; Type the package name (or several package names, separated ...
Read more >
Add ability to correctly re-install packages without using the ...
Instead, there should be a separate argument or command to allow this happen, where the package will first be uninstall and secondly the...
Read more >
Install Packages from Repositories or Local Files - rdrr.io
Download and install packages from CRAN-like repositories or from local files. Usage. install.packages(pkgs, lib, repos = getOption("repos"), contriburl = ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found