Download this extension from the VS Gallery or get the CI build.
Visual Studio extension for easy clean all bin and obj directories in solution
See the change log for changes and road map.
Adds build menu sub item "Clean Bin and Obj"
Visual Studio extension for easy clean all bin and obj directories in solution
License: Other
Download this extension from the VS Gallery or get the CI build.
Visual Studio extension for easy clean all bin and obj directories in solution
See the change log for changes and road map.
Adds build menu sub item "Clean Bin and Obj"
Is it possible to expose this extension with a "command name" (so we can bind a keyboard hotkey to this extension)?
Only installs to 2022 even though 2017 and 2019 also installed (https://i.imgur.com/uLh4ZEQ.png)
See Description
Should allow installing to all supported versions of VS that are present
first, THANKS FOR A GREAT EXTENSION!!!
Please add the following lines to the extensions.vsixmanifest
file in the <Installation>
section:
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,18.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata>
<Identity Id="5ea478a7-93f3-4cef-982f-0be41fea1173" Version="1.2.58" Language="en-US" Publisher="Alexander Dobrynin" />
<DisplayName>CleanBinAndObj</DisplayName>
<Description xml:space="preserve">Cleans all /bin and /obj directories in solution</Description>
<MoreInfo>https://github.com/aldobrynin/CleanBinAndObj</MoreInfo>
<License>Resources\LICENSE</License>
<Icon>Resources\icon.png</Icon>
<Tags>clean, cleanup, bin, obj</Tags>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,18.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies></Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,)" DisplayName="Visual Studio core editor" />
<Prerequisite Id="Microsoft.VisualStudio.Component.Web" Version="[17.0,)" DisplayName="Web development tools" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" Path="CleanBinAndObj.pkgdef" />
</Assets>
</PackageManifest>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata>
<Identity Id="5ea478a7-93f3-4cef-982f-0be41fea1173" Version="1.2.58" Language="en-US" Publisher="Alexander Dobrynin" />
<DisplayName>CleanBinAndObj</DisplayName>
<Description xml:space="preserve">Cleans all /bin and /obj directories in solution</Description>
<MoreInfo>https://github.com/aldobrynin/CleanBinAndObj</MoreInfo>
<License>Resources\LICENSE</License>
<Icon>Resources\icon.png</Icon>
<Tags>clean, cleanup, bin, obj</Tags>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,18.0)" >
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Pro" >
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Enterprise" >
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,18.0)" >
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Pro" >
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Enterprise" >
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies></Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,)" DisplayName="Visual Studio core editor" />
<Prerequisite Id="Microsoft.VisualStudio.Component.Web" Version="[17.0,)" DisplayName="Web development tools" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" Path="CleanBinAndObj.pkgdef" />
</Assets>
</PackageManifest>
Will not install on VS 2022 ARM
Happily installs on VS 2022 ARM
Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.4.1
This extension: 1.2.58
Does not work when using right mouse button on SOLUTION.
The following Error appears:
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
When installing the vsix it required "Web development tools", and had to download and install a bunch of stuff that I would not expect to be relevant to this extension.
After installation, I used Visual Studio Installer to uncheck the "ASP.NET and web development prerequisites" component to uninstall it, and the extension still appears to work just fine.
Can the pre-requisite be removed, or is there something it is really required for new in VS2022?
System.UriFormatException: A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString, UriKind uriKind)
at Microsoft.VisualStudio.ExtensionManager.ExtensionHeaderImpl.get_License()
at VSIXInstaller.ViewModel.ExtensionViewModel..ctor(IExtension extension, IEnumerable1 packages, Boolean satisfied, Boolean showPackages) at VSIXInstaller.ViewModel.InstallableExtensionViewModel..ctor(IInstallableExtension extension, IEnumerable
1 packages, Boolean satisfied, Boolean showPackages, Boolean alreadyInstalled, Boolean isNotInstallableSDK)
at VSIXInstaller.ViewModel.InstallableExtensionViewModel.CreateWithoutPackages(InstallExtensionData installData)
at VSIXInstaller.SingleInstallPage..ctor(ExtensionData data, InstallExtensionData installData, IEnumerable`1 targetSkus)
at VSIXInstaller.LoadingPage.<>c__DisplayClass11_1.b__2()
Install log attached
Install did not complete successfully.
I doesn't work using Visual Studio 2015 Pro
I get an error VSIXInstaller.NoApplicableSKUsException
Is it because my VS is in french ?
Is it possible to improve it with a right-click on a project/solution on the solution explorer?
So if I RC on the solution- it will delete all Bin Obj and if I RC on a specific project- it will delete only the Bin Obj of that project?
Obj directory has additional files in them - especially with Blazor and WPF .Net 5.
But doing a Clean Build before is a work around.
Leaves files in obj directories but doing a clean build first before running is a working around
Expected it to clean the bin and objects even after build. But still a time saver.
Hi,
VS 2022 will be released on November 8 (2021), any plan to support it?
br
The "Subdirectories to clean" option reseted to default after restarting the VS.
The "Subdirectories to clean" option reseted to default value "bin obj"
The "Subdirectories to clean" option should keep the last value I saved.
When running clean if a file is in use and the bin folder cannot be deleted the output pane still shows the project as cleaned. I think it should show that the project was not cleaned
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.