-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is donet nuget update
?
#5208
Comments
@a-h : You can use dotnet add as update for now. You can say We also have a backlog item for a dedicated Please let us know if this unblocks you. |
Thanks, I hand cranked the XML which fixed the issue. The workflow was tedious though: There's a So I ended up copying and pasting each reference ID into the URL bar of a browser to find the latest version, e.g.:
There really needs to be a way to look for outdated packages that are applied to a solution easily. Ideally it would be possible to mark NuGet packages as containing known vulnerabilities, then you could run something like I've started watching 4103, thanks for that. |
+1 on this. A huge miss. Re: insecure packages. I'm trying to acheive exactly that. I want to list what packages I have referenced (directly, indirectly or transitively) that match a given list of known insecure ones. I started off manually going thru it on nuget.org, but ended up writing a CLI tool that parses the project.assets.json / project.lock.json files instead. |
I've got a solution which fails to build, the error is:
Ah, OK, there's a dependency problem. Fortunately, I've been developing in .Net for for years and so I've seen these before. The quick solution is probably to upgrade all of the packages in the solution to the same versions.
Since I used the
dotnet add
command line to add a package, there must be adotnet update
to update packages. I'll take a look at thedotnet nuget
command, hmm. Can't see anything to update packages in the documentation, it mustn't have been done yet.Right, since there's no
nuget
for OSX and Linux yet, I'll need to install Mono on OSX, then runnuget.exe
.I'll run it against the solution and update everything...
Oh, it mustn't work against solutions for dotnet core, I'll try it against the project.
Oh, well now I'm stuck. Ideally, I'd like a graphviz file showing all the dependencies, highlighting version mismatches.
Do I have to go look at each NuGet package in each csproj, look it up and stick the new version number in the PackageReference element? Doing a trial and error thing?
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
The issue is I can't find a way to:
Is there a solution for this?
The text was updated successfully, but these errors were encountered: