Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
nuget [2025/10/17 02:36] – [Package Cache Locations] stephen | nuget [2025/10/17 02:48] (current) – stephen |
---|
| ''<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 ===== |