-
Notifications
You must be signed in to change notification settings - Fork 903
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
Clean up any temp nuget folder actions after NuGet operations #622
Comments
@mrdima This is now fixed. |
We already handle the nuget\packagename folder with #479 |
This should help reduce the size when embedding files in the package. |
Certain operations you want to be performed without logging warnings. Ensure that those operations can be performed without logging at a level that may alarm the user. Log only to the file instead.
`TEMP\NuGetScratch` and sometimes a `TEMP\x\Nuget` folder are created by NuGet Core, however it doesn't clean up after itself on this. It is expected for you to call `OptimizedZipPackage.PurgeCache()`, but this does not appear to actually remove the folder because PurgeCache is dependent on the GUID that it creates for the subdirectory. It doesn't hold a reference to that and so it comes up with one that doesn't exist by the time we call it. Handle cleaning up those caches at the end of most runs.
* stable: (doc) update CHANGELOG/nuspec (GH-753) Get-WebFileName Matches on Invalid Chars (doc) update CHANGELOG/nuspec (GH-356) Resolve sources by name (GH-732) Request/Response Timeout configurable (maint) formatting (GH-751) Use package name/version from env vars (GH-752) Combine Push timeout and execution timeout (GH-622) Remove NuGet temp folders (GH-622) Allow silent retries (GH-584) License loading occurs in DLL (GH-584) update licensing docs (doc) update CHANGELOG/nuspec (GH-733) Don't pass some args to dependencies (doc) update CHANGELOG/nuspec
The
Choco creates and uses |
@dietmarb01 sounds like a possible bug. Would you mind filing a new issue so we can take care of it ? Thanks in advance! |
%TEMP%\nuget\packagename- don't remove thisThe text was updated successfully, but these errors were encountered: