User Tools

Site Tools


nuget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
nuget [2025/10/17 02:36] – [Package Cache Locations] stephennuget [2025/10/17 02:48] (current) stephen
Line 9: Line 9:
 | ''<nowiki>$pkgId = "newtonsoft.json"</nowiki>''\\ ''<nowiki>$version = "13.0.3"</nowiki>''\\ ''<nowiki>"https://api.nuget.org/v3-flatcontainer/$pkgId/$version/$pkgId.nuspec"</nowiki>'' | (Open URI in browser - Invoke-RestMethod does not seem to work). List NuGet package dependencies from a repo. Not sure if this actually works. | | ''<nowiki>$pkgId = "newtonsoft.json"</nowiki>''\\ ''<nowiki>$version = "13.0.3"</nowiki>''\\ ''<nowiki>"https://api.nuget.org/v3-flatcontainer/$pkgId/$version/$pkgId.nuspec"</nowiki>'' | (Open URI in browser - Invoke-RestMethod does not seem to work). List NuGet package dependencies from a repo. Not sure if this actually works. |
 | ''<nowiki>dotnet nuget list source --format detailed</nowiki>'' | List the NuGet package sources. | | ''<nowiki>dotnet nuget list source --format detailed</nowiki>'' | List the NuGet package sources. |
 +| ''<nowiki>Get-ChildItem -Recurse -Directory | Where-Object { $_.Name -in @('bin','obj','packages') } | Remove-Item -Recurse -Force</nowiki>'' | Remove all packages from a solution. |
  
 ===== NuGet Source Locations ===== ===== NuGet Source Locations =====
nuget.1760668581.txt.gz · Last modified: 2025/10/17 02:36 by stephen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki