Code Monkey home page Code Monkey logo

elektrostudios / automatic-temp-file-cleaner-for-visual-studio Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 482 KB

A Visual Studio extension that automatically cleans up temporary files when the IDE is closed.

Home Page: https://marketplace.visualstudio.com/items?itemName=elektroHacker.VsAutomaticTempFileCleaner

License: Apache License 2.0

Visual Basic .NET 100.00%
cleaner filecleaner garbage tempfile tempfiles visual-studio visualstudio2019 visualstudio2022 cleaning cleaning-script

automatic-temp-file-cleaner-for-visual-studio's Introduction

Automatic Temp File Cleaner for Visual Studio 2022

An extension that automatically cleans up temporary files generated by Visual Studio when the IDE gets closed.


๐Ÿ‘‹ Introduction

Do you knew that if you do use Visual Studio with frequently, and not do a system cleaning frequently, the size of your system's temp directory at the end will grow up by several gigabytes and the number of files inside will be multiplied by hundreds because of Visual Studio's lack of deleting its own temp files?.

Here is the final solution for that.

After you install this extension, every time that you close Visual Studio this extension will keep your system clean by removing temporary files from disk that are generated by Visual studio in C:\Users\[USERNAME]\AppData\Local\Temp\ and other locations.

Don't worry, this extension is very safe to be used, it will not and cannot remove important files accidentally. In fact it will keep / ignore any temp file that is not related with Visual Studio.

This extension care to delete temp files related to Background Download, Diagnostic Tools, NuGet, VS settings log files, VS telemetry and VSIX package extraction between other kind of VS temp files, including those disgusting files and directories in your system's temp folder having random alphanumeric naming pattern like: ########.###

I hope this finally helps people to say goodbye to the thousands of Visual Studio files that remain in the temporary folder pending for clean.

๐Ÿ“ Requirements

  • Visual Studio 2022.

๐Ÿค– Getting Started

Download the latest extension release by clicking here or from Visual Studio Market Place, install it, and whenever you close Visual Studio it will silently on background delete all the garbage.

You can check the log file C:\Users\[USERNAME]\AppData\Local\Temp\AutoTempFileCleaner_VS2022.log for more details on the last clean operation did by the extension.

๐Ÿ”„ Change Log

Explore the complete list of changes, bug fixes, and improvements across different releases by clicking here.

โš ๏ธ Disclaimer:

This Work (the repository and the content provided in) is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Work or the use or other dealings in the Work.

๐Ÿ’ช Contributing

Your contribution is highly appreciated!. If you have any ideas, suggestions, or encounter issues, feel free to open an issue by clicking here.

Your input helps make this Work better for everyone. Thank you for your support! ๐Ÿš€

๐Ÿ’ฐ Beyond Contribution

This work is distributed for educational purposes and without any profit motive. However, if you find value in my efforts and wish to support and motivate my ongoing work, you may consider contributing financially through the following options:



__________________

Becoming my sponsor on Github:

You can show me your support by clicking here,
contributing any amount you prefer, and unlocking rewards!



__________________

Making a Paypal Donation:

You can donate to me any amount you like via Paypal by clicking here.



__________________

Purchasing software of mine at Envato's Codecanyon marketplace:

If you are a .NET developer, you may want to explore 'DevCase Class Library for .NET',
a huge set of APIs that I have on sale. Check out the product by clicking here

It also contains all piece of reusable code that you can find across the source code of my open source works.



Your support means the world to me! Thank you for considering it! ๐Ÿ‘

automatic-temp-file-cleaner-for-visual-studio's People

Contributors

elektrostudios avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

eddict

automatic-temp-file-cleaner-for-visual-studio's Issues

Does not install in Visual Studio 2022 Community Edition

The extension does not install in VS2022 Community Edition (which is the only edition I have). The install requirements on the README say "Visual Studio 2019 Community Edition or higher", which my VS2022 edition should meet. Can you please update the extension so it also works in VS2022?

Log of install failure
3/7/2023 3:41:56 AM - Microsoft VSIX Installer
3/7/2023 3:41:56 AM - -------------------------------------------
3/7/2023 3:41:56 AM - vsixinstaller.exe version:
3/7/2023 3:41:56 AM - 17.1.1035-preview2
3/7/2023 3:41:56 AM - -------------------------------------------
3/7/2023 3:41:56 AM - Command line parameters:
3/7/2023 3:41:56 AM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,[path to extension file's directory]\VsAutomaticTempFileCleaner.vsix
3/7/2023 3:41:56 AM - -------------------------------------------
3/7/2023 3:41:56 AM - Microsoft VSIX Installer
3/7/2023 3:41:56 AM - -------------------------------------------
3/7/2023 3:41:56 AM - Initializing Install...
3/7/2023 3:41:56 AM - Extension Details...
3/7/2023 3:41:56 AM - 	Identifier         : VsAutomaticTempFileCleaner.2dd5d924-3077-4867-860d-3f1319b97024
3/7/2023 3:41:56 AM - 	Name               : VsAutomaticTempFileCleaner
3/7/2023 3:41:56 AM - 	Author             : ElektroStudios
3/7/2023 3:41:56 AM - 	Version            : 1.0
3/7/2023 3:41:56 AM - 	Description        : Automatically cleans temporary files generated by Visual Studio when closing the IDE.
3/7/2023 3:41:56 AM - 	Locale             : en-US
3/7/2023 3:41:56 AM - 	MoreInfoURL        : 
3/7/2023 3:41:56 AM - 	InstalledByMSI     : False
3/7/2023 3:41:56 AM - 	SupportedFrameworkVersionRange : [4.5,)
3/7/2023 3:41:56 AM - 
3/7/2023 3:41:56 AM - 	SignatureState     : Unsigned
3/7/2023 3:41:56 AM - 	Supported Products : 
3/7/2023 3:41:56 AM - 		Microsoft.VisualStudio.Community
3/7/2023 3:41:56 AM - 			Version : [16.0,17.0)
3/7/2023 3:41:56 AM - 			ProductArchitecture : x86
3/7/2023 3:41:56 AM - 
3/7/2023 3:41:56 AM - 	References         : 
3/7/2023 3:41:56 AM - 		-------------------------------------------------------
3/7/2023 3:41:56 AM - 		Identifier   : Microsoft.VisualStudio.MPF.16.0
3/7/2023 3:41:56 AM - 		Name         : Visual Studio MPF 16.0
3/7/2023 3:41:56 AM - 		Version      : [16.0,17.0)
3/7/2023 3:41:56 AM - 		MoreInfoURL  : 
3/7/2023 3:41:56 AM - 		Nested       : No
3/7/2023 3:41:56 AM - 
3/7/2023 3:41:56 AM - 	Prerequisites      : 
3/7/2023 3:41:56 AM - 		-------------------------------------------------------
3/7/2023 3:41:56 AM - 		Identifier   : Microsoft.VisualStudio.Component.CoreEditor
3/7/2023 3:41:56 AM - 		Name         : Visual Studio core editor
3/7/2023 3:41:56 AM - 		Version      : [16.0,17.0)
3/7/2023 3:41:56 AM - 
3/7/2023 3:41:56 AM - Signature Details...
3/7/2023 3:41:56 AM - 	Extension is not signed.
3/7/2023 3:41:56 AM - 
3/7/2023 3:41:56 AM - Searching for applicable products...
3/7/2023 3:41:56 AM - Found installed product - Global Location
3/7/2023 3:41:56 AM - Found installed product - Visual Studio Community 2022
3/7/2023 3:41:56 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.